Gas exchange in the lungs occurs by diffusion. Carbon dioxide (CO2) will follow its concentration gradient into the alveolus, oxygen (O2) will follow its concentration gradient into the capillary.