All along the inside of our bronchial tubes, we have a substance called mucus. The mucus helps trap dirt from the air we breathe in. The mucus comes out when we cough.