Sunshine in a tablet Our skin produces vitamins D when exposed to sunlight. Many people avoid sun exposure or use sunscreen, which prevents the body from producing this vitamin. Strong and healthy bones The D vitamin is a fat-soluble vitamin that plays an important role in calcium absorption.