Magnesium helps to regulate calcium transport and absorption. By stimulating the secretion of the hormone calcitonin, it aids the influx of calcium into bone and promotes optimal bone mineralization.