a network of membranous tubules and sacs extending from the nucleus to the outer membrane of a typical animal or plant cell. It is responsible for the processing and modification of proteins and lipids, both for distribution within the cell and for secretion.