N-linked glycosylation primarily occurs in the rough endoplasmic reticulum (ER) and continues in the Golgi apparatus. Within the ER, the initial glycosylation process attaches a pre-assembled oligosaccharide to the nascent protein. Further modifications and trimming of the oligosaccharide chain occur in the Golgi apparatus, leading to the mature glycoprotein.