Specifically, the common precipitate is CaCO3 and the common acid used is HCl.
Chemical Equation:
2HCl(aq)+CaCO3(solid)àH2O(liquid)+CO2(gas)+CaCl2(aq)
Image from url
However, this solution caused another unperceived problem. That is heavy metal pollution. In each joint of 2 pipes, people will use high temperature fire to burn the metal and solder them together. Notice that in the solder process, the heavy metal in the pipe will be oxides and expose outside, and directly contact with sewage. When people add acid to dissolve the precipitates, at the same time, those heavy metals will be dissolved too. They will exist in sewage flow into river and sea in form of ion and enter the recycling of nature. Fortunately, people realized that and do some change in pipe to reduce the contamination of heavy metal right now.Check out this website for more information:
https://www.nlm.nih.gov/medlineplus/ency/article/002822.htm