Taking magnesium supplements is a way to cure magnesium deficiency and eating magnesium rich foods may help avoid the health problems caused by the lack of this important mineral.
Source: http://www.amazing-chinese-food.com/magnesium-supplements.html