Infection or chemical irritation leads to increased airway blood flow, followed by increased production of mucus and desquamation of the lung epithelium. Invading leukocytes produce peroxidase, resulting in purulence. Coughing functions to clear debris from the airways.