A thin layer of lipids that surrounds the cell, separating the cytoplasm and organelles inside the cell from the surrounding environment.