UPGMA (unweighted pair group method with arithmetic mean) uses the average distance between pairs of taxa (in simple terms, taxa are the items or groups you’re trying to compare and organize. Imagine you’re sorting animals like cats, dogs, and birds based on how similar they are) to build a tree, while WPGMA (weighted pair group method with arithmetic mean) gives more weight to the more similar pairs of taxa, which can affect the tree structure.