Acids react with carbonates and hydrogen carbonates forming corresponding salts, water and carbon (IV) oxide gas.
The Carbon (IV) Oxide gas forms a white precipitate with lime water.