The biosynthesis of GPI anchors is a multi-step process that begins in the endoplasmic reticulum. It involves the sequential addition of sugar molecules to a phosphatidylinositol lipid. This precursor is then transferred to the protein's C-terminus in a reaction catalyzed by the enzyme GPI transamidase. This attachment typically occurs at an asparagine residue within a specific recognition sequence.