Question: how does gravity affect the layers of the atmosphere?
Answer: Fortunately for us, Earth's gravity is strong enough to hold onto its atmosphere. Mars, for example, is less than half Earth's size and around one-tenth Earth's mass. Less mass means less gravitational pull. ... The higher you go in the atmosphere, the thinner the air becomes.