Sunlight Is Not the Enemy — Daylight Helps Your Sleep, Vitamin D Depends on the Season
Daylight, especially in the morning, helps set your body clock for better sleep; vitamin D is a separate question that depends on season and latitude, and a supplement is a safer answer than sunburn.