Cell-surface components or appendages of bacteria that facilitate adhesion (bacterial adhesion) to other cells or to inanimate surfaces. Most fimbriae (fimbriae, bacterial) of gram-negative bacteria function as adhesins, but in many cases it is a minor subunit protein at the tip of the fimbriae that is the actual adhesin. In gram-positive bacteria, a protein or polysaccharide surface layer serves as the specific adhesin. What is sometimes called polymeric adhesin (biofilms) is distinct from protein adhesin.