Climate change affects ecosystems through increased greenhouse gases like CO2. Forests normally sequester carbon from the atmosphere through photosynthesis, but deforestation releases stored carbon as CO2. Rising CO2 and temperatures impact coral reefs by increasing ocean acidification and causing coral bleaching. This damages coral's ability to build calcium carbonate skeletons and stresses symbiotic algae. Climate change therefore has wide-ranging ecological, economic, and social consequences for forests, coastlines, and communities that depend on healthy coral reefs.