Also known as pertussis, whooping cough is a bacterial infection that affects the upper respiratory system.