The endoplasmic reticulum (ER) comprises folded membranes continuous with the nuclear envelope.
Rough ER has embedded ribosomes and is involved in protein synthesis.
Smooth ER has no ribosomes and is involved in lipid and carbohydrate synthesis.