Question: why the atmosphere is dense?
Answer: The atmosphere is the most dense near the surface because of gravity. As one goes higher, the air gets thinner and thinner. At an altitude of about ten kilometers, the atmosphere is only half as thick as at the surface.