Vitamin D is synthesized in human skin when exposed to UVB radiation from sunlight. This process converts cholesterol compounds in the skin into previtamin D3, which then becomes vitamin D3. It's the only vitamin that the body can produce naturally through sunlight exposure.