When a component composed of atoms that easily drop electrons (a steel) reacts with an element composed of atoms that readily gain electrons (a nonmetal), a transfer of electrons typically happens, generating ions. The compound formed by this transfer is stabilized with the electrostatic attractions (ionic bonds) between the ions of opposite demand