When an element made up of atoms that quickly reduce electrons (a steel) reacts with a component made up of atoms that easily achieve electrons (a nonmetal), a transfer of electrons ordinarily takes place, developing ions. The compound formed by this transfer is stabilized via the electrostatic attractions (ionic bonds) https://cyanide-potassium-sodium60368.tribunablog.com/the-5-second-trick-for-potassium-cyanide-ksp-43964450