In an ionic bond, the atoms are bound together by the electrostatic forces in the attraction between ions of opposite charge. ... For example, sodium (Na), a metal, and chloride (Cl), a nonmetal, form an ionic bond to make NaCl. In a covalent bond, the atoms bond by sharing electrons.