Compares two or more groups or situations, usually with the goal of identifying similarities and differences between them.