Minimum Spanning Trees
In short: a minimum spanning tree connects every depot for the least total cost, using exactly n − 1 links and never a ring. Kruskal's builds it by taking quotes cheapest first and skipping any that would close a ring; Prim's grows one tree outward, always crossing its cheapest offer. Both are safe because of the cut property: split the depots any way you like, and the cheapest link crossing that split always belongs to the MST.

Meridian's depots need a private fibre network so that scanners, route boards and loading-bay screens agree with each other. Carriers have quoted for every link they could lay between two depots, and each link carries data both ways. Buying every quote would be wasteful: a message can hop from depot to depot, so all the network needs is some route between every pair of depots. The question is which links to buy so that every depot is reached, for the least total cost.
You met a version of this at the end of the union-find lesson, where Kruskal's algorithm linked Tunebox's offices. This lesson explains why the greedy rule is right, adds a second algorithm that grows the network outward from one depot, and shows what else the same structure answers.
What you're buying is a tree
Look at the cheapest answer and it never contains a ring. If three depots were linked in a triangle, you could drop the dearest of the three links and everything would still be connected, for less. So the cheapest connecting set is a tree that touches every depot, a spanning tree, and for n depots it has exactly n − 1 links. Among all spanning trees, the one with the smallest total is the minimum spanning tree, or MST.
A graph can have an enormous number of spanning trees. A complete graph on just 10 depots has 100 million of them, so trying them all is out. Instead, two greedy algorithms build the MST one link at a time, and both are safe for the same reason.