All along the insides of your bronchial tubes, you have a special substance called mucus. The mucus helps trap dirt from the air you breathe in. The mucus comes out when you cough.