Carbon dioxide is a greenhouse gas. Greenhouse gases trap heat energy. Greenhouse gases change the climate and weather on our planet, Earth. This is called climate change. Greenhouse gases are a cause of global warming, the rise of Earth surface temperature.