The movement of particles from low concentration to high concentration is responsible for the diffusion in liquids and gases.
In the case of the osmosis, the particles move from the low concentration to high concentration through the semi-permeable membrane, this happens because of the diffusion.