Many factors can affect the rate of diffusion, including, but not limited to, concentration gradient, size of the particles that are diffusing, and temperature of the system. In living systems, diffusion of substances in and out of cells is mediated by the plasma membrane.