Any molecule that consists of several (2 to 20) monosaccharides joined covalently by glycosidic bonds. Oligosaccharides are components of glycoproteins and occur, for example, on the surface of cells, where they play vital roles in cell recognition and adhesion.