When carbonate sediments are subjected to thermal or regional metamorphism, the CO2 cannot often escape and the carbonate minerals simply recrystallize; calcite and dolomite commonly form marble. Carbonate minerals can therefore be common in some metamorphic rocks.