Magnesium Sulfide Ionic Or Covalent
The compound magnesium sulfide, which has the chemical formula MgS, is an ionic compound. This is because it is formed from a metal (magnesium) and a non-metal (sulfur), which typically form ionic bonds due to their large differences in electronegativity. In an ionic bond, one atom loses electrons to become a positively charged ion (cation), while the other gains electrons to become a negatively charged ion (anion). In the case of magnesium sulfide, magnesium donates two electrons to sulfur to form the ionic compound MgS, with magnesium as the cation and sulfur as the anion.