Coral reefs are underwater ecosystems composed of calcium carbonate structures secreted by corals. They are built by colonies of tiny marine animals called polyps that cluster together in waters with few nutrients. Animals have adapted to use coral reefs as a safe habitat and find food sources within the reefs.