If there is too much mucus, you cough it out. A cough is how your body deals with irritants, such as dust or bacteria, that are in your nose, throat or lungs.