Mucus (/ mjuks / MEW-kss) is a slippery aqueous secretion produced by, and covering, mucous membranes. It is typically produced from cells found in mucous glands, although it may also originate from mixed glands, which contain both serous and mucous cells. It is a viscous colloid containing inorganic salts, antiseptic enzymes (such as lysozymes), immunoglobulins, and glycoproteins such as lactoferrin and mucins, which are produced by goblet cells in the mucous membranes and submucosal glands. Mucus serves to protect epithelial cells (that line the tubes) in the respiratory, gastrointestinal, urogenital, visual, and auditory systems; the epidermis in amphibians; and the gills in fish, against infectious agents such as fungi, bacteria and viruses. The average human nose produces about a liter of mucus per day. Most of the mucus produced is in the gastrointestinal tract.

Answer this question: what role does mucus play in the respiratory system? Let's give stream of consciousness first:
To answer the above question, the relevant sentence is: Mucus serves to protect epithelial cells (that line the tubes) in the respiratory, gastrointestinal, urogenital, visual, and auditory systems; the epidermis in amphibians; and the gills in fish, against infectious agents such as fungi, bacteria and viruses.
So, the final answer is serves to protect epithelial cells.