You get adequate vitamin D from safe sun exposure or vitamin D supplements. Only a few limited foods provide vitamin D, but these are generally at low levels making it difficult to obtain adequate vitamin D through diet.