First, it combines with carbon dioxide in the soil to form a weak acid called carbonic acid. ... Carbonic acid slowly dissolves away minerals in rock, especially the carbonate minerals that make up limestone and marble. The weak acid decomposes the insoluble rock into watersoluble products that move into the groundwater.