Final answer:
Fimbriae and capsules are the two structures that enable bacteria to adhere to each other or to different surfaces. Fimbriae are protein projections for attachment, while capsules are polysaccharide layers that also assist in adherence and immune system evasion.
Step-by-step explanation:
The two structures that play direct roles in permitting bacteria to adhere to each other, or to other surfaces, are fimbriae and capsules. Fimbriae are short, bristle-like protein projections that cover the bacterial cell surface and allow bacteria to attach to various surfaces, including other cells. This attachment is crucial for pathogenic bacteria in terms of colonization, infectivity, and virulence, and is also significant for biofilm formation. On the other hand, bacterial capsules consist of polysaccharides and are part of the glycocalyx. These capsules enable bacteria to adhere to environmental surfaces and play a role in evading the host's immune system.