Pathfinding algorithms are used to find the shortest, fastest, or most efficient route between two points in a graph or map.
For example, a pathfinding algorithm might be used to navigate a video game character from the starting point to the end point while avoiding obstacles and enemies.