the atmosphere acts as a blanket how
Atmosphere maintains the temperature of our planet in a steady situation, not too much high and not too much low as we see in case of moon. This happens because of a gaseous layer present in atmosphere which prevents the extra heating by sun light and also too much cooling at night by absorbing heat. Atmosphere also has a preventive layer of ozone which does not allow harmful radiation like UV rays to enter our environment. So in this way atmosphere acts as a blanket for our planet.