The fate of these vital ecosystems rests on humanity’s ability to slow global warming.