When an element made up of atoms that readily get rid of electrons (a metal) reacts with an element made up of atoms that conveniently achieve electrons (a nonmetal), a transfer of electrons generally happens, producing ions. The compound formed by this transfer is stabilized because of the electrostatic sights (ionic bonds) between the ions of opp