The fat-soluble vitamin D’s most important role is maintaining blood levels of calcium, which it accomplishes by increasing absorption of calcium from food and reducing urinary calcium loss. Both effects keep calcium in the body and therefore spare the calcium that is stored in bones. When necessary, vitamin D transfers calcium from the bone into the bloodstream, which does not benefit bones. Although the overall effect of vitamin D on the bones is complicated, some vitamin D is necessary for healthy bones and teeth.
When "D” is used without a subscript it refers to either D2 or D3, the two primary forms used as supplements.