Heat radiated out by earth is reflected back by the atmosphere. In the absence of atmosphere, all the heat will escape from earth’s surface which will make the earth inhospitably cold. The atmosphere helps in maintaining the temperature through convection of heat.