Collective motion can be observed in biological systems over a wide range of length scales, from large animals to bacteria because collective systems always work better for adaptation than those which are singular. Individual bacterial cells have short memories. But groups of bacteria can develop a collective memory that can increase their tolerance to stress. This has been demonstrated experimentally for the first time in a study by Eawag and ETH Zurich scientists published in PNAS.
Source : http://preventdisease.com