Dear student,
The earth's Atmosphere is made up of a mixture of gases which includes oxygen, nitrogen, carbon dioxide, argon etc and water vapours. It also contains dust and some other particles. The position of earth is at the right amount of distance from the sun which maintains the optimum temperature change between day and night as compared to the planets having different atmosphere than earth or even no atmosphere and thus, such planets loose their heat at night. Its only on Earth's atmosphere that the free oxygen is available in abundance, as this element combines with the other elements present in an atmosphere to brought the source of energy to photosynthetic life and also provide a perfect climate for living things.
Regards.