The cell membrane is a phospholipid bilayer with embedded proteins that surrounds the cell. It functions to control what enters and exits the cell to maintain homeostasis and provides protection. The phospholipids form a lipid bilayer with hydrophilic phosphate heads and hydrophobic fatty acid tails. Proteins are embedded in the membrane. The cell membrane is selectively permeable, allowing passive diffusion of small molecules and facilitated diffusion of larger molecules through transport proteins. Active transport uses ATP to move molecules against their concentration gradient.