Vitamin D is synthesized in the skin when exposed to UVB radiation from sunlight, earning it the nickname 'sunshine vitamin'. This process converts a cholesterol derivative into previtamin D3, which then becomes active vitamin D. Other vitamins like B12, A, and C must be obtained from dietary sources.