Coughing is a protective mechanism designed to prevent irritating particles from entering the lungs. It consists first of a breathing in, or inspiration, the glottis is then closed to be opened again forcibly by a violent breathing out, or expiration. The sound of a cough is due to the breathed out air rushing over the vocal chords.