Ultraviolet (UV) Exposure Is Not the Answer. Our bodies manufacture vitamin D when the sun's ultraviolet B (UVB) rays interact with 7-dehydrocholesterol (7-DHC) present in the skin. However, we can produce only a limited amount of vitamin D from UVB.