Question: what holds atmosphere around earth?
Answer: Gravity. 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.