The flexible outer covering of a cell that helps control what enters and leaves the cell