Answer
The two major constant gases that make up 99% of the air are nitrogen and oxygen. The main functions of the atmosphere are protection by absorbing ultraviolet solar radiation, warming the surface through heat retention, and reducing temperature extremes between day and night. The layer of the atmosphere in which weather changes occur is the troposphere.