While climate change threatens their future, science shows that corals can adapt and survive if we keep them healthy.