Your mouth, nose, throat, sinuses and lungs are lined with mucus membranes. These membranes contain mucus glands that produce - surprise - mucus. Mucus-producing membranes line specific passages in your body, like the respiratory and digestive tracts, for protection and support.
Just go look on some of the questions on Bradley I'm sure you'll find the answer there