Vitamin D is a group of structurally related, fat-soluble compounds responsible for increasing intestinal absorption of calcium, magnesium, and phosphate, along with numerous other biological functions.Foods such as the flesh of fatty fish are good natural sources of vitamin D; there are few other foods where it naturally appears in significant amounts.Cholecalciferol and ergocalciferol can also be obtained through diet and dietary supplements.