The focus of our research is to understand the physical mechanisms influencing bacterial surface colonization and biofilm formation in fluids. We use a combination of microfluidics and visualization techniques to access the microstructure and the rheology of bacterial systems, with the ultimate goal of linking their structure to their biological function.