A substance X which is used as an antacid reacts with dilute hydrochloric acid to produce a gas Y which is used in one type of fire-extinguisher. Name the substance X and gas Y. Write a balanced equation for the chemical reaction which takes place.
The chemical name of the substance X is sodium hydrogencarbonate (NaHCO3). It reacts with with dilute hydrochloric acid to produce gas y which is carbon dioxide.

NaHCO3 + HCl CO2 + H2O + NaCl


49