In the sodium chloride structure, every cation has anions around it, and every anion is surrounded by cations. The electrostatic forces of attraction between ions of opposite charge are the ionic bonds.

= Na+ = Cl-