Vitamin D is an essential vitamin required by the body for the absorption of calcium, bone development, immune functioning, and alleviation of inflammation. Vitamin D deficiency can lead to rickets, a weakened immune system, increased cancer risk, poor hair growth, and osteomalacia. Excess vitamin D can cause the body to absorb too much calcium, leading to increased risk of heart disease and kidney stones.