Which salt is formed when HCl reacts with BaCO₃?

When hydrochloric acid (HCl) reacts with barium carbonate (BaCO₃), the products are barium chloride (BaCl₂), carbon dioxide (CO₂), and water (H₂O). The reaction is: BaCO3(s)+2HCl(aq)→BaCl2(aq)+CO2(g)+H2O(l). The salt formed is barium chloride (BaCl₂).