The human respiratory system allows for gas exchange between the blood and air through breathing. Air enters through the nasal cavity and is warmed and moistened before passing into the trachea and branching bronchi and bronchioles that lead to millions of tiny alveoli in the lungs. The alveoli are adapted for efficient gas exchange with very thin walls, a large surface area, and moist inner surfaces surrounded by blood capillaries. During inhalation, the diaphragm and intercostal muscles expand the ribcage to decrease pressure and allow air into the lungs. Exhalation is a passive process where the muscles relax and pressure increases to force air back out.