Coral reefs are diverse underwater ecosystems held together by calcium carbonate structures secreted by corals.