The chemical or biochemical addition of carbohydrate or glycosyl groups to other chemicals, especially peptides or proteins. Glycosyl transferases are used in this biochemical reaction.