When a component composed of atoms that easily shed electrons (a metal) reacts with an element composed of atoms that readily acquire electrons (a nonmetal), a transfer of electrons typically happens, making ions. The compound formed by this transfer is stabilized because of the electrostatic sights (ionic bonds) between the ions of opposite demand