The atmosphere is held to the earth by
Gravitaional force of the Earth
The atmosphere is held to the earth by the gravitational force of the Earth. The gases in the atmosphere have mass and hence the Earth attracts them as a result of which the gases do not escape from earth.