The cell membrane acts as a selective, partially permeable boundary which allows wanted substances to move into the cell and unwanted substances to be kept out. Moreover, cell membranes contain surface antigens, which allow the cells to be identified as "self" by the immune system. The cell membrane does not contain hereditary material.