When we look at bacteria under a microscope, they appear to be tumbling around chaotically, but over the centuries we realized that their pathways have a purpose.