how is the average temperature on earth mantained steady?
Atmosphere of the earth acts like a blanket and does not let the solar heat escape from the earth and hence maintains a constant temperature of earth by the phenomenon known as green house effect. Without the atmosphere the temperature of earth would have been very hot during days and very cold during nights.