Distance is how far one thing is from another thing. Distance is a measure of the space between two things. It can be measured along any path. Thus, someone who goes around in a circle has traveled a distance even though his position has not changed.
Distance is different from displacement. Displacement is a vector that measures distance with a straight line and in only one path. Displacement is the shortest way to travel the distance.