The part of the cell that regulates what enters and leaves the cell