here we have 3 conditions in which the distance moved and the magnitude of displacement are not equal that is
1.when pendulum moves to and fro
2. A cyclist moves in circular path
3. A mosquito flies in a room
in 1and 2 start and end point is same so displacement will be zero, and in 3 displacement will be much shorter as compared to distance.