UPGMA is an algorithm for constructing phylogenetic trees from distance matrix data. It works by sequentially clustering the two closest groups at each step, computing distances between new clusters and other groups as the average of all pairwise distances. UPGMA assumes a molecular clock and produces rooted, ultrametric trees reflecting phenotypic similarities rather than true evolutionary relationships.