Certain gases in the atmosphere, such as carbon dioxide and methane, trap heat from the sun and cause the greenhouse effect. This keeps the Earth's temperature warm enough to sustain life but rising levels of these gases from human activities like burning fossil fuels are enhancing the greenhouse effect and causing global warming. Potential consequences of global warming include rising sea levels from melting ice caps, stronger extreme weather events, more widespread droughts and floods, and disrupted ecosystems.