Bacteria employ a number of mechanisms to resist the effects of antibiotics, including the formation of biofilms.