Skip to main content
Biology LibreTexts

16.2: Structure and Function of the Respiratory System

  • Page ID
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)
    Seeing Your Breath

    Why can you “see your breath” on a cold day? The air you exhale through your nose and mouth is warm, like the inside of your body. Exhaled air also contains a lot of water vapor because it passes over moist surfaces from the lungs to the nose or mouth. The water vapor in your breath cools suddenly when it reaches the much colder outside air. This causes the water vapor to condense into a fog of tiny droplets of liquid water. You release water vapor and other gases from your body through the process of respiration.

    breathing steam
    Figure \(\PageIndex{1}\): Breath on a cold day

    What is Respiration?

    Respiration is the life-sustaining process in which gases are exchanged between the body and the outside atmosphere. Specifically, oxygen moves from the outside air into the body; and water vapor, carbon dioxide, and other waste gases move from inside the body into the outside air. Respiration is carried out mainly by the respiratory system. It is important to note that respiration by the respiratory system is not the same process as cellular respiration that occurs inside cells, although the two processes are closely connected. Cellular respiration is the metabolic process in which cells obtain energy, usually by “burning” glucose in the presence of oxygen. When cellular respiration is aerobic, it uses oxygen and releases carbon dioxide as a waste product. Respiration by the respiratory system supplies the oxygen needed by cells for aerobic cellular respiration and removes the carbon dioxide produced by cells during cellular respiration.

    Respiration by the respiratory system actually involves two subsidiary processes. One process is ventilation or breathing. This is the physical process of conducting air to and from the lungs. The other process is gas exchange. This is the biochemical process in which oxygen diffuses out of the air and into the blood while carbon dioxide and other waste gases diffuse out of the blood and into the air. All of the organs of the respiratory system are involved in breathing, but only the lungs are involved in gas exchange.

    Respiratory Organs

    The organs of the respiratory system form a continuous system of passages called the respiratory tract, through which air flows into and out of the body. The respiratory tract has two major divisions: the upper respiratory tract and the lower respiratory tract. The organs in each division are shown in Figure \(\PageIndex{2}\). In addition to these organs, certain muscles of the thorax (the body cavity that fills the chest) are also involved in respiration by enabling breathing. Most important is a large muscle called the diaphragm, which lies below the lungs and separates the thorax from the abdomen. Smaller muscles between the ribs also play a role in breathing. You can learn more about breathing muscles in the concept of Breathing.

    conducting passages
    Figure \(\PageIndex{2}\): During breathing, inhaled air enters the body through the nose and passes through the pharynx, larynx, trachea, bronchi, and then enters the lungs. Exhaled air travels from the lungs in the opposite direction.

    Upper Respiratory Tract

    All of the organs and other structures of the upper respiratory tract are involved in the conduction or the movement of air into and out of the body. Upper respiratory tract organs provide a route for air to move between the outside atmosphere and the lungs. They also clean, humidity, and warm the incoming air. However, no gas exchange occurs in these organs.

    Nasal Cavity

    The nasal cavity is a large, air-filled space in the skull above and behind the nose in the middle of the face. It is a continuation of the two nostrils. As inhaled air flows through the nasal cavity, it is warmed and humidified. Hairs in the nose help trap larger foreign particles in the air before they go deeper into the respiratory tract. In addition to its respiratory functions, the nasal cavity also contains chemoreceptors that are needed for the sense of smell and that contribute importantly to the sense of taste.


    The pharynx is a tube-like structure that connects the nasal cavity and the back of the mouth to other structures lower in the throat, including the larynx. The pharynx has dual functions: both air and food (or other swallowed substances) pass through it, so it is part of both the respiratory and digestive systems. Air passes from the nasal cavity through the pharynx to the larynx (as well as in the opposite direction). Food passes from the mouth through the pharynx to the esophagus.


    The larynx connects the pharynx and trachea and helps to conduct air through the respiratory tract. The larynx is also called the voice box because it contains the vocal cords, which vibrate when air flows over them, thereby producing sound. You can see the vocal cords in the larynx in Figure \(\PageIndex{3}\). Certain muscles in the larynx move the vocal cords apart to allow breathing. Other muscles in the larynx move the vocal cords together to allow the production of vocal sounds. The latter muscles also control the pitch of sounds and help control their volume.

    Larynx (top view)
    Figure \(\PageIndex{3}\): The larynx is viewed from the top. opening to the trachea is closed by epiglottis during swallowing. Cartilage and vocal cords are also visible.

    A very important function of the larynx is protecting the trachea from aspirated food. When swallowing occurs, the backward motion of the tongue forces a flap called the epiglottis to close over the entrance to the larynx. You can see the epiglottis in Figure \(\PageIndex{3}\). This prevents swallowed material from entering the larynx and moving deeper into the respiratory tract. If swallowed material does start to enter the larynx, it irritates the larynx and stimulates a strong cough reflex. This generally expels the material out of the larynx and into the throat.

    Lower Respiratory Tract

    Lungs diagram detailed
    Figure \(\PageIndex{4}\): This diagram illustrates the tree-like branching of the passages of the lower respiratory tract within the lungs.

    The trachea and other passages of the lower respiratory tract conduct air between the upper respiratory tract and the lungs. These passages form an inverted tree-like shape (Figure \(\PageIndex{4}\)), with repeated branching as they move deeper into the lungs. All told, there are an astonishing 1,500 miles of airways conducting air through the human respiratory tract! It is only in the lungs, however, that gas exchange occurs between the air and the bloodstream.


    The trachea, or windpipe, is the widest passageway in the respiratory tract. It is about 2.5 cm (1 in.) wide and 10-15 cm (4-6 in.) long. It is formed by rings of cartilage, which make it relatively strong and resilient. The trachea connects the larynx to the lungs for the passage of air through the respiratory tract. The trachea branches at the bottom to form two bronchial tubes.

    Bronchi and Bronchioles

    There are two main bronchial tubes, or bronchi (singular, bronchus), called the right and left bronchi. The bronchi carry air between the trachea and lungs. Each bronchus branches into smaller, secondary bronchi; and secondary bronchi branch into still smaller tertiary bronchi. The smallest bronchi branch into very small tubules called bronchioles. The tiniest bronchioles end in alveolar ducts, which terminate in clusters of minuscule air sacs, called alveoli (singular, alveolus), in the lungs.


    Lung structure normal
    Figure \(\PageIndex{5}\): The cross-section of lung tissue on the right shows the alveoli in which gas exchange takes place with the capillary network that surrounds them. Neuroendocrine cells lining the bronchioles control their diameter and the flow of air through them. A surfactant is a liquid that covers the inside of the alveoli and prevents them from collapsing and sticking together when air empties out of them during exhalation.
    Alveoli gas exchange
    Figure \(\PageIndex{6}\): The gaseous exchange between blood and outside air inside the lung alveoli.

    The lungs are the largest organs of the respiratory tract. They are suspended within the pleural cavity of the thorax. In Figure \(\PageIndex{5}\), you can see that each of the two lungs is divided into sections. These are called lobes, and they are separated from each other by connective tissues. The right lung is larger and contains three lobes. The left lung is smaller and contains only two lobes. The smaller left lung allows room for the heart, which is just left of the center of the chest.

    Lung tissue consists mainly of alveoli (Figure \(\PageIndex{6}\)). These tiny air sacs are the functional units of the lungs where gas exchange takes place. The two lungs may contain as many as 700 million alveoli, providing a huge total surface area for gas exchange to take place. In fact, alveoli in the two lungs provide as much surface area as half a tennis court! Each time you breathe in, the alveoli fill with air, making the lungs expand. Oxygen in the air inside the alveoli is absorbed by the blood in the mesh-like network of tiny capillaries that surrounds each alveolus. The blood in these capillaries also releases carbon dioxide into the air inside the alveoli. Each time you breathe out, air leaves the alveoli and rushes into the outside atmosphere, carrying waste gases with it.

    The lungs receive blood from two major sources. They receive deoxygenated blood from the heart. This blood absorbs oxygen in the lungs and carries it back to the heart to be pumped to cells throughout the body. The lungs also receive oxygenated blood from the heart that provides oxygen to the cells of the lungs for cellular respiration.

    Protecting the Respiratory System

    Pseudostratified Ciliated Columnar epithelium
    Figure \(\PageIndex{7}\): The upward sweeping motion of cilia lining the respiratory tract helps keep it free from dust, pathogens, and other harmful substances.

    You may be able to survive for weeks without food and for days without water, but you can survive without oxygen for only a matter of minutes except under exceptional circumstances. Therefore, protecting the respiratory system is vital. That’s why making sure a patient has an open airway is the first step in treating many medical emergencies. Fortunately, the respiratory system is well protected by the ribcage of the skeletal system. However, the extensive surface area of the respiratory system is directly exposed to the outside world and all its potential dangers in inhaled air. Therefore, it should come as no surprise that the respiratory system has a variety of ways to protect itself from harmful substances such as dust and pathogens in the air.

    The main way the respiratory system protects itself is called the mucociliary escalator. From the nose through the bronchi, the respiratory tract is covered in the epithelium that contains mucus-secreting goblet cells. The mucus traps particles and pathogens in the incoming air. The epithelium of the respiratory tract is also covered with tiny cell projections called cilia (singular, cilium), as shown in Figure \(\PageIndex{7}\). The cilia constantly move in a sweeping motion upward toward the throat, moving the mucus and trapped particles and pathogens away from the lungs and toward the outside of the body.

    What happens to the material that moves up the mucociliary escalator to the throat? It is generally removed from the respiratory tract by clearing the throat or coughing. Coughing is a largely involuntary response of the respiratory system that occurs when nerves lining the airways are irritated. The response causes air to be expelled forcefully from the trachea, helping to remove mucus and any debris it contains (called phlegm) from the upper respiratory tract to the mouth. The phlegm may spit out (expectorated), or it may be swallowed and destroyed by stomach acids.

    Sneezing is a similar involuntary response that occurs when nerves lining the nasal passage are irritated. It results in forceful expulsion of air from the mouth, which sprays millions of tiny droplets of mucus and other debris out of the mouth and into the air, as shown in Figure \(\PageIndex{8}\). This explains why it is so important to sneeze into a sleeve rather than the air to help prevent the transmission of respiratory pathogens.

    Figure \(\PageIndex{8}\): Sneezing results in tiny particles from the mouth being forcefully ejected into the air.

    How the Respiratory System Works with Other Organ Systems

    The amount of oxygen and carbon dioxide in the blood must be maintained within a limited range for the survival of the organism. Cells cannot survive for long without oxygen, and if there is too much carbon dioxide in the blood, the blood becomes dangerously acidic (pH is too low). Conversely, if there is too little carbon dioxide in the blood, the blood becomes too basic (pH is too high). The respiratory system works hand-in-hand with the nervous and cardiovascular systems to maintain homeostasis in blood gases and pH.

    It is the level of carbon dioxide rather than the level of oxygen that is most closely monitored to maintain blood gas and pH homeostasis. The level of carbon dioxide in the blood is detected by cells in the brain, which speed up or slow down the rate of breathing through the autonomic nervous system as needed to bring the carbon dioxide level within the normal range. Faster breathing lowers the carbon dioxide level (and raises the oxygen level and pH); slower breathing has the opposite effects. In this way, the levels of carbon dioxide and oxygen, as well as pH, are maintained within normal limits.

    The respiratory system also works closely with the cardiovascular system to maintain homeostasis. The respiratory system exchanges gases between the blood and the outside air, but it needs the cardiovascular system to carry them to and from body cells. Oxygen is absorbed by the blood in the lungs and then transported through a vast network of blood vessels to cells throughout the body where it is needed for aerobic cellular respiration. The same system absorbs carbon dioxide from cells and carries it to the respiratory system for removal from the body.

    Feature: My Human Body

    Choking is the mechanical obstruction of the flow of air from the atmosphere into the lungs. It prevents breathing and may be partial or complete. Partial choking allows some though inadequate airflow into the lung—prolonged or complete choking results in asphyxia, or suffocation, which is potentially fatal.

    Obstruction of the airway typically occurs in the pharynx or trachea. Young children are more prone to choking than are older people, in part because they often put small objects in their mouths and do not appreciate the risk of choking that they pose. Young children may choke on small toys or parts of toys or on household objects in addition to food. Foods that can adapt their shape to that of the pharynx, such as bananas and marshmallows, are especially dangerous and may cause choking in adults as well as children.

    How can you tell if a loved one is choking? The person cannot speak or cry out or has great difficulty doing so. Breathing, if possible, is labored, producing gasping or wheezing. The person may desperately clutch at his or her throat or mouth. If breathing is not soon restored, the person’s face will start to turn blue from lack of oxygen. This will be followed by unconsciousness if oxygen deprivation continues beyond a few minutes.

    If an infant is choking, turning the baby upside down and slapping on the back may dislodge the obstructing object. To help an older person who is choking, first, encourage the person to cough. Give them a few hardback slaps to help force the lodged object out of the airway. If these steps fail, perform the Heimlich maneuver on the person. You can easily find instructional videos online to learn how to do it. If the Heimlich maneuver also fails, call for emergency medical care immediately.

    Abdominal thrusts
    Figure \(\PageIndex{9}\): The Heimlich maneuver may be needed to help force an aspirated object out of the respiratory tract.


    1. What is respiration, as carried out by the respiratory system? Name the two subsidiary processes it involves.
    2. Describe the respiratory tract.
    3. Identify the organs of the upper respiratory tract, and state their functions.
    4. List the organs of the lower respiratory tract. Which organs are involved only in conduction?
    5. Where does gas exchange take place?
    6. How does the respiratory system protect itself from potentially harmful substances in the air?
    7. Explain how the rate of breathing is controlled.
    8. Why does the respiratory system need the cardiovascular system to help it perform its main function of gas exchange?
    9. Place the following organs or structures of the respiratory system in order of when they are encountered by air entering the body — from earliest to latest.

      trachea; nasal cavity; alveoli; bronchioles; larynx; bronchi; pharynx

    10. Which organ is part of both the digestive and respiratory systems?

      A. Larynx

      B. Trachea

      C. Pharynx

      D. Bronchus

    11. Describe two ways in which the body prevents food from entering the lungs.
    12. True or False. The lungs receive some oxygenated blood.
    13. True or False. Gas exchange occurs in both the upper and lower respiratory tracts.
    14. Coughing can expel ___________ from the body.

      A. mucus

      B. food particles

      C. phlegm

      D. All of the above

    15. What is the relationship between respiration and cellular respiration?


    1. Snowboarders breath on a cold day by Alain Wong via Unsplash License
    2. Conducting Passages by Lord Akryl, Jmarchn, public domain via Wikimedia Commons
    3. Larynx by Alan Hoofring, National Cancer Institute, public domain via Wikimedia Commons
    4. Lung Diagram by Patrick J. Lynch; CC BY 2.5 via Wikimedia Commons
    5. Lung Structure by National Heart Lung and Blood Institute, public domain via Wikimedia Commons
    6. Alveoli by helix84 licensed CC BY 2.5, via Wikimedia Commons
    7. Ciliated Epithelium by staff (2014). "Medical gallery of Blausen Medical 2014". WikiJournal of Medicine 1 (2). DOI:10.15347/wjm/2014.010. ISSN 2002-4436. licensed CC BY 3.0 via Wikimedia Commons
    8. Sneeze by James Gathany, CDC, public domain via Wikimedia Commons
    9. Abdominal Thrusts by Amanda M. Woodhead, public domain via Wikimedia Commons
    10. Text adapted from Human Biology by CK-12 licensed CC BY-NC 3.0

    This page titled 16.2: Structure and Function of the Respiratory System is shared under a CK-12 license and was authored, remixed, and/or curated by Suzanne Wakim & Mandeep Grewal via source content that was edited to the style and standards of the LibreTexts platform.

    CK-12 Foundation
    CK-12 Foundation is licensed under CK-12 Curriculum Materials License