At the cellular level, vitamin D exerts anti-inflammatory effects on immune cells that express the vitamin D receptor (VDR) such as monocytes, macrophages, and T lymphocytes, which in turn shapes the immune response during the onset of inflammation and infection and following vaccination.