A thin, selectively permeable layer surrounding the cell, controlling entrance and exit of ions and molecules.