The cell membrane controls the movement of substances in and out of the cell.
The cell membrane is made up of a lipid bilayer with embedded proteins. It uses simple diffusion to control the movement of the substances. Some substances, such as proteins or glucose, are not able to pass through the membrane. This is what makes it semi-permeable.