What happens to air pressure and the amount of oxygen when the altitude increases in earths atmosphere?

As altitude increases in Earth's atmosphere, air pressure decreases. This is because the weight of the air above decreases as you move higher in the atmosphere. With lower air pressure at higher altitudes, the amount of oxygen available also decreases. This can lead to lower oxygen levels in the air, making it more difficult to breathe at high altitudes.