A green house is a building made of glass, where the sun’s radiation warms the air inside, but the glass prevents it from being released, keeping the temperature inside warm. Similarly, the earth’s atmosphere is filled with gases, such as carbon dioxide, which traps the sun’s solar radiation within the earth’s atmosphere and prevents the warm air from being released.