Capsules are composed primarily of polysaccharides and sometimes polypeptides. They provide a physical barrier that prevents phagocytes from binding to the bacterial cell surface. This is particularly effective because the capsule can mimic host tissues, reducing the likelihood of an immune response. Additionally, capsules can interfere with the complement system, a group of proteins that aids in the opsonization and destruction of pathogens.