what happens to air pressure and the amount of oxygen as the altitude increases

As altitude increases, air pressure decreases because the weight of the atmosphere above us decreases. This means that there are fewer air molecules in a given volume of space at higher altitudes.

As a result, the amount of oxygen available in the air also decreases with increasing altitude. This is because oxygen makes up a fixed percentage of the Earth's atmosphere, and as the overall air pressure decreases, the concentration of oxygen in the air also decreases.

This decrease in air pressure and oxygen availability can have significant effects on the human body at high altitudes, leading to symptoms such as shortness of breath, fatigue, and decreased physical performance. People who live or travel to high altitude areas often experience altitude sickness as their bodies adjust to the lower oxygen levels.