I think this might be a good place to add this reminder:
"Vitamin D is made when UV (more precisely, UVB rays) react with a compound (7-dehydrocholesterol) in the skin. The best rays for UV synthesis have wavelengths between 270–300 nm." [1]
[1] https://www.sciencelearn.org.nz/resources/1313-vitamin-d-and...