The sunshine vitamin's real role in regulating your immune system.
General education, not medical advice — vitamin D deficiency is diagnosed with a blood test, and supplementation should be guided by your doctor, not a website.
Vitamin D functions more like a hormone than a typical vitamin, and it plays a direct, well-studied role in regulating immune function — including how your body manages inflammatory signalling.
Your skin produces vitamin D from sunlight exposure, which means people who spend most of their time indoors, live at higher latitudes, or have darker skin (which needs more sun exposure to produce the same amount) are at higher risk of low levels — deficiency is genuinely widespread, not a fringe concern.
Fatty fish, egg yolks and fortified foods (milk, some plant milks, some cereals) are the main dietary sources, though food alone often isn't enough to reach sufficient levels for people with limited sun exposure.
Get tested before supplementing. A simple blood test tells you where you actually stand — guessing at a dose without knowing your level is guesswork your doctor can easily remove.