Answer:
B. To surround all contents of the cell
Explanation:
A cell membrane is selectively permeable, meaning some things are able to enter and leave the cell. It surrounds the contents of the cell, keeping the organelles and other contents contained.