Most bacteria contain some sort of a polysaccharide layer outside of the cell wall. This layer is called a capsule. A true capsule is a discrete detectable layer of polysaccharides deposited outside the cell wall. A less discrete structure or matrix which embeds the cells is a called a slime layer. Slime layers are equivalent to biofilms
A type of capsule found in bacteria called a glycocalyx.