Whooping cough is a highly contagious illness caused by bacteria, which in some cases can lead to severe health complications or even be fatal.