In the atmosphere ,carbon dioxide behaves much like the glass roof of a greenhouse, letting heat from the sun pass through to the earth while preventing much of it from radiating back away from the planet.Thus ecologists speculate about a possible greenhouse effect,A rise in the earth’s average temperature due to increasing concentration of carbon dioxide in the atmosphere.