Examine the physiological mechanisms that facilitate gas exchange in the lungs.