Glycocalyx[edit]
Main article: Glycocalyx
Many bacteria secrete extracellular polymers outside of their cell walls called glycocalyx. These polymers are usually composed of polysaccharides and sometimes protein. Capsules are relatively impermeable structures that cannot be stained with dyes such as India ink. They are structures that help protect bacteria from phagocytosis and desiccation. Slime layer is involved in attachment of bacteria to other cells or inanimate surfaces to form biofilms. Slime layers can also be used as a food reserve for the cell.