When an element made up of atoms that readily reduce electrons (a metal) reacts with an element made up of atoms that conveniently gain electrons (a nonmetal), a transfer of electrons commonly takes place, generating ions. The compound formed by this transfer is stabilized via the electrostatic attractions (ionic bonds) between the ions of opposite