In addition, magnesium deficiency affects the absorption of vitamin D and PTH, which affects the absorption of calcium and bone density (Vazquez-Lorente et al., 2020; Marcus, 2018). This evidence concerns the gene PTH and magnesium deficiency.