Carbon dioxide gas is liberated when dilute hydrochloric acid reacts with sodium hydrogen carbonate.
When the gas liberated in the reaction is passed through lime water, lime water turns milky or a white precipitate of calcium carbonate is formed. This confirms that the gas is carbon dioxide.