Mucus may be annoying when you're sick, but your body needs it to keep you healthy. Mucus — also known as sputum — is a sticky, gelatinous material that lines your lungs, throat, mouth, nose, and sinuses. It's produced by membranes in the nose and sinuses known as the mucous membranes.