what elements form ionic compounds
Types of Compounds. Ionic compounds are compounds composed of ions, charged particles that form when an atom (or group of atoms, in the case of polyatomic ions) gains or loses electrons. 1  A cation is a positively charged ion. 2  An anion is a negatively charged ion.