During pregnancy, adequate vitamin D levels are essential for both maternal and fetal health. It helps in calcium absorption, which is crucial for fetal bone development. Deficiency in vitamin D during pregnancy is linked to complications such as gestational diabetes, preeclampsia, and low birth weight.