Magnesium and Electromagnetic fields