Bordetella pertussis is a bacterium that targets the lungs, typically causing a three-stage respiratory infection that is known as pertussis or whooping cough. It is highly contagious and causes a prolonged infection that is passed from person to person through respiratory droplets and close contact. Pertussis tests are performed to detect and diagnose a B. pertussis infection.