So we see that inside each individual alveolis, the reason that gas exchange takes place is because of the existence of a pressure gradient, a difference in concentration between these two types of gas molecules found in the lumen and inside the alveolar space.