Whooping cough is an inflammation and infection of the lungs and breathing tubes. Inflammation is the immune system's normal response to injury or contaminants. Germs, bacteria and viruses are contaminants and can cause inflammation.