A biofilm is a syntrophic community of microorganisms in which cells stick to each other and often also to a surface. These adherent cells become embedded within a slimy extracellular matrix that is composed of extracellular polymeric substances (EPSs). The cells within the biofilm produce the EPS components, which are typically a polymeric combination of extracellular polysaccharides, proteins, lipids and DNA. Because they have a three-dimensional structure and represent a community lifestyle for microorganisms, they have been metaphorically described as "cities for microbes".
Biofilms may form on living (biotic) or non-living (abiotic) surfaces and can be common in natural, industrial, and hospital settings. They may constitute a microbiome or be a portion of it. 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. Biofilms can form on the teeth of most animals as dental plaque, where they may cause tooth decay and gum disease.