Coral reefs are one of the Earth's most biodiverse and important ecosystems, but they are under threat globally due to climate change and other human impacts.