What does the earth's atmosphere do?

The earth's atmosphere saves us humans from dieing from the suns deadly rays. It is like a shield that saves the knight from a knife. Or putting a blanket over the earth's atmosphere.

The Earth's atmosphere also creates rain. In the summer on a hot, sunny day, water evaporates, and when the steam hits the atmosphere, the steam condensates into water, making rain to fill our lakes, streams, etc.