The Union Dynamic Connectivity operator replaces components containing objects p and q with their mathematical union ∪.