The atmosphere traps a part of the Sun’s heat that is reflected from Earth’s surface. This effect, called the greenhouse effect, is primarily responsible for the moderate average temperatures on Earth. What component of the atmosphere causes this to occur?