While inhaling, air enters the nose, travels through the nasal cavity, larynx, trachea and bronchi and enters the lungs when the diaphragm contracts. Further, air passes through the bronchioles and enters the alveoli, where exchange of gases takes place. Absorbed oxygen is taken up by the blood and carbon dioxide, which is brought from all parts of the body, is pumped out of lungs when diaphragm relaxes. On exhaling, this carbon dioxide rich air flows through the reverse route and moves out through the nose.