Here's why:
* Ionic: Magnesium chloride is formed by the electrostatic attraction between positively charged magnesium ions (Mg²⁺) and negatively charged chloride ions (Cl⁻). This is the defining characteristic of ionic compounds.
* Compound: It is a compound because it is made up of two or more different elements (magnesium and chlorine) chemically bonded together.
Let me know if you'd like more information about magnesium chloride!