distance is how much you traveled from begin to end so if you traveled along a road that was 500 m twice then your distance is 1000 m
displacement is change in position between your starting and ending points and since you started and ended at the same place then your displacement is 0