How can the distance formula be used in real life?

Normally, we use the distance formula to find the distance between two points within the coordinate plane that are diagonally across from each other; not vertically or horizontally away from each other. Students tend to look at these examples and cannot find how the...