An ionic bond arises from the transfer of electrons between atoms, creating ions with opposing charges that are attracted electrostatically.
- H$_2$O (water): Features a covalent bond linking hydrogen and oxygen.
- CO$_2$ (carbon dioxide): Contains a covalent bond between carbon and oxygen.
- NaCl (sodium chloride): Demonstrates an ionic bond, formed by sodium (Na) and chloride (Cl) ions.
- Cl$_2$ (chlorine gas): Consists of a covalent bond between two chlorine atoms.
Answer: NaCl exemplifies an ionic bond, thus option (3) is the correct choice.