Question: what is the function of the capsule in prokaryotic cells?
Answer: The capsule helps prokaryotes cling to each other and to various surfaces in their environment, and also helps prevent the cell from drying out. In the case of disease-causing prokaryotes that have colonized the body of a host organism, the capsule or slime layer may also protect against the host's immune system.