Carbonate rockCarbonate rocks are a class of sedimentary rocks composed primarily of carbonate minerals. The two major types are limestone, which is composed of calcite or aragonite (different crystal forms of CaCO3), and dolomite rock (also known as dolostone), which is composed of mineral dolomite (CaMg(CO3)2). They are usually classified based on texture and grain size. Importantly, carbonate rocks can exist as metamorphic and igneous rocks, too. When recrystallized carbonate rocks are metamorphosed, marble is created.