When an element made up of atoms that conveniently eliminate electrons (a steel) reacts with an element made up of atoms that conveniently get electrons (a nonmetal), a transfer of electrons normally occurs, creating ions. The compound formed by this transfer is stabilized because of the electrostatic points of interest https://cyanolab.net/how-to-order/