Caves (I)
CaCO3 : calcite or aragonite - soluble in weak acids (like rain water) and precipitate in weak bases (like sea water)
Carbonates precipitate in warm waters (thermal springs) and dissolve in cold water (deep marine ~4,000 meters)
Any process that contributes CO2 tends to favor the precipitation of carbonate - decay of vegetation, warming solutions