Distance is a scalar quantity while displacement is a vector quantity.

scalar quantity measures only the magnitude of a person.

vector quantity measure it's magnitude and displacement.

for example,

My crush and i has the distance of 100m from each other. But he has the displacement of 0m from the south towards my heart.


#cheesyyy sorry kung nonesense i'm just expressing my sense of humor as a person and hope it helps
Example is:

I travelled 10m north then went 5m east. My total distance is 15m but my displacement is only 11.18m. Why? Because displacement is the distance from the origin. And distance is the total length that I have traveled.

Back again with the problem, if I have travelled west of south back to my origin the displacement will be 0 because Im at the origin and the distance from the origin is 0.

Hope this helps.