The endoplasmic reticulum (ER) is a network of membranous tubules and sacs. The rough ER is studded with ribosomes and is involved in protein synthesis and folding. The smooth ER lacks ribosomes and is associated with lipid synthesis, detoxification, and calcium storage.