That's called the cell membrane. It encloses both prokaryotic, eukaryotic, plant and animal cells.
In the case of eukaryotic cells, it is the outermost layer, in the case of prokaryotic cells, it is not.
Hope it helped,
BioTeacher101
6.7m questions
8.9m answers