How particles spread spontaneously

Random movement leads to an even distribution

Particles in liquids and gases are continually moving randomly. Collisions change their direction. This thermal motion also carries particles into regions that initially contain fewer of them.
Concentration describes the amount of a substance in a given volume. Across a concentration gradient, particles move in both directions, but initially more move from the higher-concentration region to the lower-concentration region than the reverse. This spontaneous spreading is called diffusion. The particles do not move towards a goal.
Particles keep moving at equilibrium

As mixing progresses, the concentration gradient becomes smaller. Eventually concentrations are equal on average throughout the accessible space. Across an imaginary boundary, roughly equal numbers of particles then move in both directions. This is a dynamic equilibrium: particles still move, but there is no net transfer in one direction.
Diffusion requires no directed energy input from a cell and is a passive process. It can distribute substances effectively over short distances, but takes a long time over large distances. Multicellular organisms therefore also move substances through transport systems and bulk flow.
Conditions that speed up spreading

A higher temperature increases thermal motion and can speed up mixing. Under otherwise equal conditions, a steeper concentration gradient produces greater net transfer. Particle size and the properties of the surrounding medium also affect the rate.
A fair comparison changes only one condition at a time. To investigate temperature, for example, particle number, container size and starting distribution remain the same. A membrane can further restrict diffusion: a substance crosses only if the membrane is permeable to it.
Image credits & scientific sources
The illustrations were adapted from the original EduBioSim explanatory video for these learning texts.
Scientific sources: OpenStax: Passive Transport.