Your skin makes vitamin D when UVB hits 7-dehydrocholesterol. The bad news: the same wavelengths cause sunburn and skin cancer. The good news: synthesis happens fast, and a tiny daily dose is enough.