What is a minimum spanning tree, and when would you build one?
A minimum spanning tree is a subset of the edges of a connected, weighted, undirected graph that connects every node, contains no cycles, and has the smallest possible total weight. The classic use is laying out a network: cable, roads, or pipes, where every node must be connected and you want the cheapest way to do it without paying for redundant loops.
Two facts shape the solution. First, a tree on n nodes has exactly n minus one edges, so the answer always has that many edges. Second, the problem has a cut property: for any cut of the graph, the cheapest edge crossing that cut is safe to include in some minimum spanning tree. That property is what makes the greedy algorithms correct.
The trade-off to name is that a minimum spanning tree minimises the total weight, not the longest path or the worst edge. A network that is cheap in total can still contain a very long path, and if you care about latency rather than cost, you need a different objective. The other point is that the graph must be undirected and connected for the standard definition to apply, and the weights must be comparable, which they are for costs but not for something like a trade off between price and latency.