Just like every other creature, bacteria have evolved creative ways of getting around. Sometimes this is easy, like swimming ...
Bacteria can do it, amoebas can do it, even blood cells can do it: They all have the ability to move in a goal-oriented way in liquids. And they do so despite having extremely simple structures ...