Our Earth is surrounded by layers of gases that are kept in place by gravity. The atmosphere filters sunlight and protects us from dangerous rays.