A diverse family of cell surface and extracellular glycoproteins involved in cell-cell adhesion, cell-extracellular matrix adhesion, recognition, and activation. There are four main classes of cell adhesion molecules: integrins, selectins, cadherins, and immunoglobulin-like adhesion molecules.