In nature, bacteria alternate between two modes of growth: a unicellular life phase, in which the cells are free-swimming (planktonic), and a multicellular life phase, in which the cells are sessile and live in a biofilm, that can be defined as surface-associated microbial heterogeneous structures comprising different populations of microorganisms surrounded by a self-produced matrix that allows their attachment to inert or organic surfaces. While a unicellular life phase allows for bacterial dispersion and the colonization of new environments, biofilms allow sessile cells to live in a coordinated, more permanent manner that favors their proliferation. In this alternating cycle, bacteria accomplish two physiological transitions via differential gene expression: (i) from planktonic cells to sessile cells within a biofilm, and (ii) from sessile to detached, newly planktonic cells. Many of the innate characteristics of biofilm bacteria are of biotechnological interest, such as the synthesis of valuable compounds (e.g., surfactants, ethanol) and the enhancement/processing of certain foods (e.g., table olives). Understanding the ecology of biofilm formation will allow the design of systems that will facilitate making products of interest and improve their yields.