* Group 1 (Alkali Metals): Sodium (Na) is an alkali metal.
* Group 17 (Halogens): Chlorine (Cl) is a halogen.
Sodium chloride is a classic example of an ionic compound formed by the electrostatic attraction between a metal (sodium) and a nonmetal (chlorine).