Mental Model
Find the shortest path from one starting point to all other points by always choosing the closest unvisited point next.
Analogy: Imagine you are in a city and want to find the shortest way to every other place. You start from your home and always visit the nearest new place you haven't been to yet, updating the shortest known routes as you go.
Graph nodes with distances: (A) / \ 5 2 / \ (B)---1--(C) Start at A with distance 0, others unknown (∞).
