Vitamin D is a nutrient found in some foods that is needed for health and to maintain strong bones. It does so by helping the body absorb calcium (one of bone's main building blocks) from food and supplements. People who get too little vitamin D may develop soft, thin, and brittle bones, a condition known as rickets in children and osteomalacia in adults. Vitamin D is important to the body in many other ways as well. Muscles need it to move, for example, nerves need it to carry messages between the brain and every body part, and the immune system needs vitamin D to fight off invading bacteria and viruses.