Airways and lungs normally secrete a liquid substance called mucus. When there is an infection or a chronic medical condition, the term phlegm may also be used to describe this substance. Whereas sputum is the precise name for the mixture of saliva and mucus that is specifically coughed up from the respiratory tract, frequently after an illness or an irritant of the membrane.