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.
The absorbed energy warms the atmosphere and the surface of the Earth.