Ionic Compounds

Ionic compounds are usually formed from a metal combining with a non-metal. They have opposite charges and they will attract each other to form a compound, e.g.  Magnesium Oxide. However, understanding the electrical forces explains why they stick together.