Vitamin D is obtained from sun exposure, food and supplements. It is also crucial for the absorption and metabolism of calcium and phosphorous, which have various functions, especially the maintenance of healthy bones. Best part though… It is an immune system regulator.