PTH and osteoporosis: Mg participates in the pathogenesis of osteoporosis by affecting the regulation of parathyroid hormone and vitamin D levels to affect the RANK/RANKL/OPG axis.