Question: what keeps the earth's atmosphere from floating away
Answer: The gravitational attraction of Earth 's mass