The cell membrane is a thin semi-permeable membrane that surrounds the cytoplasm of a cell, enclosing its contents. Its function is to protect the integrity of the interior of the cell by allowing certain substances into the cell, while keeping other substances out.
Info from About.com