What is Ionic Compound?

An ionic compound is a compound where the atoms give and take electrons from each other to form ions. The ions have opposite charges which causes them to hang around each other. This bond differs from covalent bonds where the atoms share electrons.