The organs of the respiratory system ensure that oxygen enters the body and carbon dioxide leaves the body. The structures and organs of the respiratory system are shown in Figure 10.1.

During inspiration, or inhalation (breathing in), air is conducted from the atmosphere to the lungs by a series of cavities, tubes, and openings. During expiration, or exhalation (breathing out), air is conducted from the lungs to the atmosphere by way of the same structures.
Ventilation is another term for breathing that includes both inspiration and expiration. During ventilation, the respiratory system depends on the cardiovascular system to transport oxygen (O2) from the lungs to the tissues and carbon dioxide (CO2) from the tissues to the lungs.
Gas exchange is necessary because the cells of the body carry out cellular respiration to make energy in the form of ATP. During cellular respiration, cells use up O2 and produce CO2. The respiratory system therefore provides these cells with O2 and removes CO2.
The nasal cavities, pharynx, and larynx are the structures of the upper respiratory tract (Fig. 10.2).

The nose opens at the nares (nostrils), which lead to the nasal cavities. The nasal cavities are narrow canals separated from each other by a septum composed of bone and cartilage (Fig. 10.2).
Air entering the nasal cavities encounters large, stiff hairs that act as a screening mechanism. The hairs filter the air and trap small particles (dust, mold spores, pollen, etc.) so they don’t enter air passages. The rest of the nasal cavities are lined by mucous membrane. The mucus secreted by this membrane helps trap dust and move it to the pharynx, where it can be swallowed or expectorated by coughing or spitting. Under the mucous layer is the submucosa. The submucosa contains a large number of capillaries that help warm and moisten the incoming air. When we breathe out on a cold day, the moisture in the outgoing air condenses, so we can see our breath. The abundance of capillaries in the submucosa also makes us susceptible to nosebleeds if the nose suffers an injury.
In the narrow upper recesses of the nasal cavities are ciliated cells that act as odor receptors. Nerves lead from these cells to the brain, where the impulses generated by the odor receptors are interpreted as smell (see Section 15.3).
The tear (lacrimal) glands drain into the nasal cavities by way of tear ducts. When you cry, your nose runs as tears drain from the eye surface into the nose. The nasal cavities also connect with the sinuses (cavities) of the skull. At times, fluid may accumulate in these sinuses, causing an increase in pressure, resulting in a sinus headache.

https://www.ncbi.nlm.nih.gov/books/NBK66003/
Air in the nasal cavities passes into the nasopharynx, the upper portion of the pharynx. Connected to the nasopharynx are tubes called auditory tubes (also called eustachian tubes) that connect to the middle ear. When air pressure inside the middle ears equalizes with the air pressure in the nasopharynx, the auditory tube openings may create a “popping” sensation. When in a plane taking off or landing, some people chew gum or yawn in an effort to move air from the ears and prevent the popping.

https://gnosnoring.com/chronic-sinusitis/eustachian-tube-dilation/

https://naenta.com/ent-services/sinus/eustachian-tube-balloon-dilation/