Neither.
Magnesium is an element.
Magnesium is not a heavy metal.
Magnesium hydride is a compound.
No. It is a compound of a metal and a nonmetal. Magnesium on its own is a metal.
Compound
Magnesium chloride (MgCl)2 is a chemical compound.
It is a compound.
Element.
Magnesium sulfate is a compound, and the terms metal a nonmetal do not apply to it.
Neither. It's an element.
Magnesium chloride is a chemical compound and is therefore not a metal. It is ionic and is not metallic in its properties. Non-metal usually refers to elements.
Dolomite limestone is a mixture of calcium carbonate and magnesium carbonate.
Magnesium is the metal. Sulfuric acid is a compound.