Vitamin D is a fat-soluble vitamin that is produced in the body after exposure to sunlight. It has two major forms, vitamin D3 and D2. Vitamin D acts as a hormone by binding to vitamin D receptors in tissues like bone and intestine. It helps regulate calcium and phosphate absorption and bone remodeling. Deficiencies can lead to rickets in children or osteomalacia in adults, characterized by soft, deformed bones and fractures. Sources include sunlight, fatty fish, and fortified foods. Toxicity from excess vitamin D causes hypercalcemia.