Whooping cough (pertussis) is a bacterial infection of the respiratory tract. It is highly contagious and spreads easily from person to person through droplets when an infected person coughs, sneezes, or talks.