When skin is exposed to sunlight, ultraviolet (UV) rays penetrate the skin and convert a compound called 7-dehydrocholesterol into Vitamin D3 (cholecalciferol). This is the body's primary natural source of Vitamin D, essential for bone health, immune function, and overall well-being. The other options are incorrect: infrared light doesn't kill bacteria in this context, resistance power isn't directly increased by sunlight, and tanning is a side effect not the health benefit.