Ionic compounds are compounds made up of ions. These ions are atoms that gain or lose electrons, giving them a net positive or negative charge. Metals tend to lose electrons, so they become cations and have a net positive charge. ... Ions of opposite charge are held together by very strong ionic bonds within the compound.