Calcium carbonate is a chemical compound with the formula CaCO3. It is a common substance found in rocks as the minerals calcite and aragonite and is the main component of pearls and the shells of marine organisms, snails, and eggs. It is also found in various forms in the environment, such as in the shells of marine organisms, snails, coal balls, pearls, and eggshells.