Substances move in and out of the cell because of diffusion. Diffusion is the random movement of particles in order to attain concentration equilibrium. Diffusion plays an important role in the gaseous exchange between the cell and its external environment. The movement of water through a semi-permeable membrane is called osmosis.