Vitamin D helps control the calcium and phosphate the body needs for healthy bones, teeth and muscles, the NHS says.