The major biologic function of vitamin D is to maintain healthy blood levels of calcium and phosphorus. Vitamin D supports bone health by promoting calcium absorption and bone mineralization. Vitamin D also plays an important role in immune function and helps to regulate cell growth and differentiation.