Ocean acidification, resulting from increased atmospheric carbon dioxide, weakens marine ecosystems like coral reefs, which are crucial for protecting coastlines against erosion and sustaining marine biodiversity.