A biofilm is an aggregate of microorganisms in which cells adhere to each other on a surface. These adherent cells are frequently embedded within a self-produced matrix of extracellular polymeric substance (EPS). Biofilm EPS, which is also referred to as slime (although not everything described as slime is a biofilm), is a polymeric conglomeration generally composed of extracellular DNA, proteins, and polysaccharides. Biofilms may form on living or non-living surfaces and can be prevalent in natural, industrial and hospital settings. The microbial cells growing in a biofilm are physiologically distinct from planktonic cells of the same organism, which, by contrast, are single-cells that may float or swim in a liquid medium.
Microbes form a biofilm in response to many factors, which may include cellular recognition of specific or non-specific attachment sites on a surface, nutritional cues, or in some cases, by exposure of planktonic cells to sub-inhibitory concentrations of antibiotics. When a cell switches to the biofilm mode of growth, it undergoes a phenotypic shift in behavior in which large suites of genes are differentially regulated.