The trachea serves as passage for air, moistens and warms it while it passes into the lungs, and protects the respiratory surface from an accumulation of foreign particles. The trachea is lined with a moist mucous-membrane layer composed of cells containing small hairlike projections called cilia.