The greenhouse effect occurs when certain gases in the Earth's atmosphere (the air around the Earth) traps infrared radiation. This makes the planet become warmer, similar to the way it makes a greenhouse become warmer. ... The greenhouse effect is natural. It is important for life on Earth.