The blood loses some oxygen and takes on carbon dioxide during its passage through different body organs . It regains its normal composition of respiratory gases during its contact with the wall of the alveoli. the thin wall of the alveoli permits easily gas exchange through a phenomenon called
diffusion.
How does this exchange occur?

Source: Wikimedia: http://commons.wikimedia.org/wiki/File:Alveoli-no.svg