You misunderstand. !!!!
Magnesium is an ELEMENT.
As an element it exists as atoms in a metallic lattice.
When combined with another element e.g. oxygen as magnesium oxide, (MgO), then it is an ionically bonded molecular compound.
Mg^(2+) + O^(2-) = MgO(s)
Mg is the scientific symbol for the element magnesium :)
MgBr2 is an ionic compound (salt: magnesium bromide)
According to wikipedia, Magnesium Oxide is an ionic compound.
Magnesium oxide is an ionic compound with the formula MgO.
Magnesium oxide, or MgO, is an ionic compound: the result of a metal reacting with a non-metal.
Mg(OH)2 is an ionic compound. Magnesium hydroxide is composed of magnesium ions (Mg2+) and hydroxide ions (OH-), which are held together by ionic bonds.
Pure ionic in Mg(OH)2 = Mg2+ and 2 OH-
MgBr2 is an ionic compound. Magnesium (Mg) is a metal and bromine (Br) is a non-metal, so they form an ionic bond by transferring electrons.
MgCl2 is an ionic compound. It is composed of magnesium cations (Mg2+) and chloride anions (Cl-), which are held together by ionic bonds.
Magnesium hydroxide is an ionic compound, as it is composed of a metal cation (magnesium) and a hydroxide anion (OH-). Ionic compounds typically form when a metal reacts with a non-metal to transfer electrons.
Magnesium oxide is ionic.
Molecular compound