So the phospholipids are arranged in a double layer (a bilayer) to keep the cell separate from its environment. Lipids do not mix with water (recall that oil is a lipid), so the phospholipid bilayer of the cell membrane acts as a barrier, keeping water out of the cell, and keeping the cytoplasm inside the cell.