Global warming is the long-term rise in Earth's temperature caused by the accumulation of greenhouse gases, such as carbon dioxide, in the atmosphere. These gases trap heat from the Sun, leading to a warming effect, which contributes to climate change, melting polar ice, and rising sea levels.