On the continental shelves of the world photosynthetic organisms, like coccoliths, bacteria, and algae, produce calcium carbonate. Many animals, like bivalves and coral reefs, then use it to make their shells or other structures. Carbonates are rocks formed from these sources, plus any CaCO which is precipitated out of solution.