Ionic bonding occurs when atoms transfer electrons to form charged ions. Metals react with non-metals, where the metal loses electrons and the non-metal gains electrons to form ions. These ions then bond together in a crystal lattice structure with an overall neutral charge. Covalent bonding occurs when non-metals share electron pairs to form molecules. Metallic bonding involves delocalized electrons that are attracted to the positively charged metal ions, binding them together in a giant lattice structure.