For example, when sodium metal reacts with HCl:
2Na (s) + 2HCl (aq) → 2NaCl (aq) + H2 (g)
In this reaction, sodium atoms lose their outermost electron to hydrogen atoms, becoming sodium ions (Na+), while the chloride ions from the acid combine with these ions to form sodium chloride (NaCl).
Base: Chloride salts can also be formed by the reaction between a base and HCl. When a base, such as sodium hydroxide (NaOH), reacts with HCl, the hydroxide ions (OH-) from the base combine with the hydrogen ions (H+) from the acid to form water (H2O). The remaining ions, sodium ions (Na+) and chloride ions (Cl-), then combine to form sodium chloride (NaCl).
NaOH (aq) + HCl (aq) → NaCl (aq) + H2O (l)
By combining with different metals or bases, chloride ions can form a wide range of chloride salts, each with its unique properties and applications. Examples of some common chloride salts include sodium chloride (NaCl, table salt), potassium chloride (KCl, used as a fertilizer and electrolyte), calcium chloride (CaCl2, used as a deicer and in food preservation), and magnesium chloride (MgCl2, used as a laxative and in the production of cement).