Unlike self-interested humans, ants have a common goal: The colony's survival.