The structure of the cell membrane is a middle bi-layer of lipid with a protein layer on either surface. The cell membrane is composed of two layers of phospholipid molecules arranged tail-to-tail, which forms a barrier that separates the inside of the cell from the outside environment. The proteins are embedded within the lipid bilayer, with some extending through the entire membrane and others located only on one surface or the other. This structure allows the cell membrane to control what enters and leaves the cell, as well as to communicate with other cells and the environment.