A slimy layer of bacteria coating a surface is also known as a biofilm.
Biofilms can be formed by a single bacterial species, however they are more often consist of many species of bacteria, as well as fungi, algae, protozoa, debris, and corrosion products. A biofilm may form on any surface exposed to bacteria and some amount of water.