Kruskal's algorithm and Prim's algorithm are two greedy algorithms for finding minimum spanning trees in graphs. Kruskal's algorithm finds the minimum spanning tree by growing a forest of trees with the least weighted edges that connect components, using a disjoint-set data structure to track components. Prim's algorithm grows a single tree by sequentially adding the least weighted edge that connects to the growing tree. Both algorithms exploit the property that the minimum spanning tree contains the least weighted edge between any two components in the graph.