Question: what is the relationship between air pressure and the density of air?
Answer: The greater the pressure, the greater the density. See the Ideal Gas Law. The atmospheric air become less dense with altitude, which corresponds to less pressure. If we assume that particular gas to be in a container then higher the air density, higher will be the pressure exerted as pressure depends also upon no.