It turns out that, long before computers even existed, Nature had found a clever way to find optimal paths between different locations: in ant colonies. Ants want to find the shortest possible routes between their nest and possible food sources.
source: https://mathigon.org/course/graphs-and-networks#full