It is what make this planet suitable to live in as we know so the atmosphere contains the trace gases,some of absorb heat,these gases are (carbon dioxide,nitrous oxide,water vapor,methane,ozone etc) all these gases are greenhouse gases., also Albedo contribute good influence on the Earth temperature,greenhouse are strutures designed to retain the heat.