The respiratory system allows for gas exchange between the external environment and cells in the body. Air enters through the nose and mouth, and passes through the pharynx and larynx before entering the trachea and bronchi. The bronchi divide into smaller branches culminating in alveoli in the lungs where oxygen and carbon dioxide are exchanged with blood by diffusion. The system works to supply cells with oxygen and remove carbon dioxide through external respiration in the lungs and internal respiration in tissues.