NaHCO3 + HCl ---->NaCl + H2O +CO2
The gas can be identified by passing through the lime water. when carbon dioxide passes through the lime water, it turns milky due to the formation of calcium carbonate which is insoluble in water.
Ca(OH)2 + CO2 ----> CaCO3 + H2O.