what exits the lungs
As the external intercostals & diaphragm contract, the lungs expand. The expansion of the lungs causes the pressure in the lungs (and alveoli) to become slightly negative relative to atmospheric pressure. As a result, air moves from an area of higher pressure (the air) to an area of lower pressure (our lungs & alveoli). During expiration, the respiration muscles relax & lung volume descreases. This causes pressure in the lungs (and alveoli) to become slight positive relative to atmospheric pressure. As a result, air leaves the lungs (check this animation by McGraw-Hill).