The processes by which molecules move across the cell membrane, including diffusion, osmosis, and active transport.