Ionic bonds are formed by the exchange of electrons between two chemical species. They are caused by an imbalance in the electronegativities of the linked atoms. Metallic bonds, on the other hand, are produced when a solid, defined lattice of metal cations shares a sea of delocalized valence electrons. Both of these modes of bonding, however, involve electrostatic forces of attraction.