the purpose of a cell membrane is to
The cell membrane gives the cell its structure and regulates the materials that enter and leave the cell. Like a drawbridge intended to protect a castle and keep out enemies, the cell membrane only allows certain molecules to enter or exit.