The greenhouse effect is a natural process that warms the Earth's surface. When the Sun's energy reaches the Earth's atmosphere, some of it is reflected back to space and the rest is absorbed and re-radiated by greenhouse gases , such as carbon dioxide, water vapor, and methane that allow incoming sunlight to pass through but retain heat radiated back from the planet's surface.. The absorbed energy warms the atmosphere and the surface of the Earth.