The study of entire complement of sugars, free or present in more complex molecules in an organism, including genetic, physiologic, pathologic, and other aspects. Glycans participate in every biological process from intracellular signaling to organ development to tumor growth