Vitamin D is a group of fat-soluble prohormones that are mainly produced in the skin upon exposure to sunlight. It regulates calcium and phosphorus levels in the blood and promotes bone formation. Vitamin D deficiency can cause rickets in children, characterized by soft and weak bones and bone deformities, and osteomalacia in adults, which is the softening of bones. Risk factors include inadequate sunlight exposure, poor nutrition, and disorders inhibiting absorption. Treatment involves oral or injectable high-dose vitamin D to promote healing.