Magnesium is a chemical element with the symbol Mg and atomic number 12. It is a shiny gray solid which bears a close physical resemblance to the other five elements in the second column of the periodic table: all group 2 elements have the same electron configuration in the outer electron shell and a similar crystal structure.
Magnesium is a crucial element in the human body and is involved in over 300 biochemical reactions. It is used in various industries including aerospace, automotive, and medical. Magnesium compounds are used medicinally as common laxatives, antacids (e.g., milk of magnesia), and in a number of situations where stabilization of abnormal nerve excitation and blood vessel spasm is required (e.g., to treat eclampsia).
Magnesium is a highly reactive metal and reacts with acids and water to form hydrogen gas. It burns with a brilliant white light and is used in flash photography, flares, and fireworks. It forms compounds with a variety of nonmetals, such as carbon and sulfur. Magnesium also reacts with oxygen to form magnesium oxide when it is burnt, a process that is so exothermic that it releases a great amount of light, so much so that it is used in flares and fireworks.