In mosses, a sporangium that produces spores; in bacteria, a protective layer of polysaccharides around the cell wall.