For example, in this animation, the figure is walking $$30 \, \mathrm{m}$$ in one direction, and $$10 \, \mathrm{m}$$ in another direction. So, the total distance covered by the figure is $$30 + 10 = 40 \, \mathrm{m}$$. But, the displacement, which is how far the figure is from the initial point, is just $$20 \, \mathrm{m}$$.