Carbohydrate chemistry is a subdiscipline of chemistry primarily concerned with the detection, synthesis, structure, and function of carbohydrates. Due to the general structure of carbohydrates, their synthesis is often preoccupied with the selective formation of glycosidic linkages and the selective reaction of hydroxyl groups; as a result, it relies heavily on the use of protecting groups.