Bacterial capsule

The bacterial capsule is a large structure common to many bacteria. It is a polysaccharide layer that lies outside the cell envelope, and is thus deemed part of the outer envelope of a bacterial cell. It is a well-organized layer, not easily washed off, and it can be the cause of various diseases.
The capsule—which can be found in both gram negative and gram-positive bacteria—is different from the second lipid membrane – bacterial outer membrane, which contains lipopolysaccharides and lipoproteins and is found only in gram-negative bacteria.
When the amorphous viscid secretion (that makes up the capsule) diffuses into the surrounding medium and remains as a loose undemarcated secretion, it is known as a slime layer. Capsule and slime layer are sometimes summarized under the term glycocalyx.
Composition.
Most bacterial capsules are composed of polysaccharide, but some species use other materials, such as poly-D-glutamic acid in "Bacillus anthracis". Because most capsules are so tightly packed, they are difficult to stain because most standard stains cannot penetrate the capsule. To visualize encapsulated bacteria using a microscope, a sample is treated with a dark stain, such as India ink. The structure of the capsule prevents the stain from penetrating the cell. When viewed, bacterial capsules appear as a bright halo around the cell on a dark background.
Function.
The capsule is considered a virulence factor because it enhances the ability of bacteria to cause disease (e.g. prevents phagocytosis). The capsule can protect cells from engulfment by eukaryotic cells, such as macrophages. A capsule-specific antibody may be required for phagocytosis to occur. Capsules also contain water which protects the bacteria against desiccation. They also exclude bacterial viruses and most hydrophobic toxic materials such as detergents. Immunity to one capsule type does not result in immunity to the other types. Capsules also help cells adhere to surfaces. As a group where the capsule is present they are known as polysaccharide encapsulated bacteria or encapsulated bacteria.
Diversity.
The capsule is found most commonly among gram-negative bacteria:
However, some gram-positive bacteria may also have a capsule:
The yeast "Cryptococcus neoformans", though not a bacterium, has a similar capsule.
Capsules too small to be seen with an ordinary microscope, such as the M protein of "Streptococcus pyogenes", are called microcapsules.
Use in vaccination.
Vaccination using capsular material is effective against some organisms (e.g., "H. influenzae" type b, "S. pneumoniae", and "N. meningitidis"). However, polysaccharides are not highly antigenic, especially in children, so many capsular vaccines contain polysaccharides conjugated with protein carriers, such as the tetanus toxoid or diphtheria toxoid. This stimulates a much more robust immune response.