When distance and displacement are equal, it indicates that the path taken is a straight line without any changes in direction. This situation typically occurs in uniform motion where the starting and ending points are the same. In such cases, the total distance traveled is the same as the straight-line distance between the two points.