The reaction between acids in acetic acid in vinegar reacts with bases of calcium carbonate to form calcium acetate salts
Further explanation
Calcium can form deposits on the surface of equipment in contact with water in the form of CaCO₃
vinegar which contains acetic acid can break the bonds between Calcium and Carbonate that form calcium acetate
CaCO₃ + 2CH₃COOH = Ca(CH₃COO)₂ + H₂CO₃
CaCO₃ + 2CH₃COOH = Ca(CH₃COO)₂ + H₂O + CO₂