The cell membrane selectively permits movement of substances across it. It is composed of a phospholipid bilayer with embedded proteins. Movement occurs through passive diffusion, osmosis, and facilitated diffusion which move substances down their concentration gradients. Active transport uses energy to move substances against their gradients, such as pumping ions using ATP-powered carrier proteins or endocytosing large molecules. Exocytosis releases secretions and wastes from the cell.