As ocean temperatures rise, corals' ability to withstand and adapt to heat stress is critical for the future of coral reefs.