flattened stack of tubular membranes that modifies, sorts, and packages proteins into vesicles and transports them to other organelles or out of the cell