While the sun does not provide vitamin D directly, standing in the sun for a couple of minutes every day helps your body meet some of its need for the vitamin. Sunlight triggers first three chemical reactions that converts an inactive compound in the skin into active vitamin D. However, as a number of factors influence the amount of vitamin D synthesized by exposure to the sun, dietary sources of vitamin D is also necessary.