Diffusion, as well as osmosis depends only on concentration gradient but active transport works against concentration gradient.