Infectious diseases

What bacterial function is most directly associated with flagella?