When an element made up of atoms that commonly shed electrons (a metal) reacts with a component made up of atoms that easily obtain electrons (a nonmetal), a transfer of electrons generally takes place, producing ions. The compound formed by this transfer is stabilized with the electrostatic attractions (ionic bonds) https://potassiumcyanide70009.articlesblogger.com/52704140/the-potassium-cyanide-kaisa-hota-hai-diaries