Gas exchange in the alveoli: linhaled air enters the lungs and passes into the alveoli. Each side of the lungs contains about 150 millimeter and is covered by capillaries. Gas exchange of carbon dioxide, oxygen, and nitrogen, as well asvapor, occurs via epithelium of alveoli.