Magnesium is found in the Earth, in the stars, and in everything that lives. Joseph Black discovered it in 1755.

Many times in science, one person will discover or invent something, but it is another individual that will make it practical or usable. There are three individuals who had a major role in the discovery of magnesium and the discovery of how to isolate it into its own element:
Magnesium's atomic symbol is Mg and it is the eighth-most plentiful element in the Earth's crust. Its ions are essential in all living things and it is the second-most plentiful ion in seawater. It conducts heat and electricity well, and has other uses, from being used as antacids to creating the bright light in fireworks.
Most of the magnesium used in the United States is obtained by electrolysis of fused magnesium chloride, which is found in sea water, brines, or wells.
Magnesium is necessary for over 300 processes in your body. It helps practically everything work better: bones, digestion, muscles, and nerves. If you don't have enough magnesium, you may suffer from fatigue, muscle weakness and migraines. More serious conditions include:
Half of your body's magnesium is found in your bones, with most of the rest found in cells, and 1% is in your blood.
Magnesium is also important for plants. It is an essential element in the chlorophyll molecule. So, in gardening and agriculture, magnesium sulfate can be used to enrich soil that is magnesium deficient.
Because it gives off a bright light when burned, magnesium is used in pyrotechnics such as fireworks, flares, and incendiary bombs. It is also added to rocket and missile fuels. Magnesium is also a component of flash light powders used in photography.
Another important use of magnesium is preventing corrosion of steel and iron. This is especially useful in pipelines and the bottom of ships; these materials are electrically plated with magnesium. Magnesium oxidizes quickly, and iron oxidizes slowly. It is this fact that prevents the iron from rusting and corroding. Since it is lighter than aluminum, it is useful as an alloy. It makes other metals lighter and more easily welded, machined or cast.
Structurally, it is used in aircraft, wheels, engine parts, and missiles. Magnesium is used in computers for radio-frequency shielding. Aluminum is alloyed with magnesium to make beverage cans.