The Role Of Atmosphere In Climate Control:
The atmosphere keeps the average temperature of the Earth fairly steady during the day and even during the course of the whole year. The atmosphere prevents the sudden increase in temperature during the daylight hours. And during the night, it slows down the escape of heat into outer space.
The moon which is at almost the same distance from the sun that the earth is has a temperature range of about -190°C to 110°C with no atmosphere.
You have seen weather reports on television and in newspapers. How do you think we are able to predict the weather?