What happens when ionic bonds are formed

Electrons are transferred from the more electropositive element (often a metal, forming a positive ion) to a more electronegative element (often a non-metal, forming a negative ion). The positive and negative charges created are the bond and that holds the compound together.