the greenhouse effect is when carbon in the air heats a planet 's atmosphere. Greenhouses work because ['windows allow in extra sunlight', 'carbon heats up inside', 'air retains humidity and warmth', 'gasses are trapped in buildings']