Carbonic acid, which is a weak acid, forms when rainwater and carbon dioxide in the air react with one another. When carbonic acid comes into contact with limestone or calcium carbonate, it can cause it to dissolve over a long period of time. In nature, this reaction leads to the formation of caves.