Vitamin D is a group of fat-soluble prohormones that are produced in the skin upon exposure to sunlight. The two major forms are vitamin D2 and vitamin D3. Vitamin D regulates calcium and phosphorus levels in the blood and promotes bone formation. Deficiency can cause rickets in children, characterized by soft and weak bones, and osteomalacia in adults. Rickets is treated with high doses of vitamin D orally or via injection to induce healing. Requirements are met by sunlight exposure or ingestion in foods like fortified milk. Too much vitamin D can cause hypercalcemia and symptoms like vomiting.