The chemical equation for the reaction between calcium carbonate and hydrochloric acid is:
CaCO3 + 2HCl → CaCl2 + CO2 + H2O
In this reaction, calcium carbonate reacts with hydrochloric acid to form calcium chloride, carbon dioxide gas, and water. The carbon dioxide gas produced in this reaction is what causes the formation of bubbles.
The formation of bubbles is a visible sign that a reaction has occurred, and it can be used to confirm that the reaction between calcium carbonate and hydrochloric acid has taken place.