It is estimated that over 80% of people are deficient. Low vitamin D is associated with increased risk of cancer, osteoporosis and heart disease. The most important function of vitamin D is in regulating the immune system. Adequate vitamin D is associated with a decreased risk of both bacterial and viral infections.