Oligosaccharides that participate in O-linked glycosylation are attached to threonine or serine on the hydroxyl group of the side chain. O-linked glycosylation occurs in the Golgi apparatus, where monosaccharide units are added to a complete polypeptide chain. Cell surface proteins and extracellular proteins are O-glycosylated. Glycosylation sites in O-linked oligosaccharides are determined by the secondary and tertiary structures of the polypeptide, which dictate where glycosyltransferases will add sugars.