The sugar moieties are linked to one another in the glycan chain via glycosidic bonds.
On the other hand, the attachment of a glycan residue to a protein requires the recognition of a consensus sequence.