Mental Model
Pick the smallest edges one by one without making loops until all points connect.
Analogy: Imagine connecting cities with roads. You want to build the cheapest roads so every city is reachable without any circle of roads.
Graph: A---2---B | | 3 1 | | C---4---D Edges with weights: 1, 2, 3, 4 Goal: connect all cities with smallest total road cost.
