The first step in the formation of biofilms is adhesion. The initial bacterial adhesion to surfaces involves the adhesin–receptor interactions. Certain polysaccharides, lipids and proteins in the matrix function as the adhesive agents. EPS also promotes cell–cell cohesion (including interspecies recognition) to facilitate microbial aggregation and biofilm formation. In general, the EPS-based matrix mediates biofilm assembly as follows. First, the EPS formation takes place at the site of adhesion, it will be either produced on bacterial surfaces or secreted on the surface of attachment, and form an initial polymeric matrix promoting microbial colonization and cell clustering. Next, continuous production of EPS further expands the matrix in 3 dimensions while forming a core of bacterial cells. The bacterial core provides a supporting framework, and facilitates the development of 3D clusters and aggregation of microcolonies. Studies on P. aeruginosa, B. subtilis, V. cholerae, and S. mutans suggested that the transition from initial cell clustering to microcolony appears to be conserved among different biofilm-forming model organisms. As an example, S. mutans produces an exoenzymes, called glucosyltransferases (Gtfs), which synthesize glucans in situ using host diet sugars as substrates. Gtfs even bind to the bacteria that do not synthesize Gtfs, and therefore, facilitate interspecies and interkingdom coadhesion.