Calcium carbonate is the chemical of which chalk is composed, a compound with the formula CaCO₃. It is a common substance found in rocks as the minerals calcite and aragonite and is the main component of eggshells, snail shells, seashells, pearls, chalk and limestone.