Scientists have now discovered how bacteria collectively gather information to learn about their environment and find an optimal path to growth. This research will allow scientists to design a new generation of "smart robots" that can form intelligent swarms and aid in the development of medical micro-robots used to treat diseases in the human body.