The sodium ions (Na+) and chloride ions (Cl-) are held together by ionic bonds.
The formula NaCl indicates that the ratio of Na+ to Cl- is 1:1.