A reaction in which an acid and base react with each other to give a salt and water is known as neutralization reaction. That is:
For example:
(i) Sodium hydroxide (NaOH) reacts with hydrochloric acid (HCl) to form sodium chloride (NaCl) and water:
(ii) Magnesium hydroxide reacts with hydrochloric acid to form magnesium chloride and water: