Do cats need sunlight?

I recently moved to a new apartment that has very little natural light. My two cats have always liked sunbathing and staying on sunny spots, but that isn't possible now. I was wondering if this may affect my cats in any way, and if there's anything I can do to help combat possible issues. Thanks for any info or help!