2HCl + CaCO3 → CaCl2 + H2O + CO2
In this reaction, the hydrochloric acid reacts with the calcium carbonate to form calcium chloride (CaCl2), water (H2O), and carbon dioxide gas (CO2). The carbon dioxide gas produced is what causes the bubbles to form.