Alveolar ventilation is the exchange of gas between the alveoli and the external environment. It is the process by which oxygen is brought into the lungs from the atmosphere and by which the carbon dioxide carried into the lungs in the mixed venous blood is expelled from the body.