A biofilm is a collection of organic and inorganic, living and dead material collected on a surface. It may be a complete film or, more commonly in water systems, small patches on pipe surfaces.