Whooping cough is a serious bacterial infection of the lungs and breathing tubes. It is also called pertussis.