Hammer unions are high-pressure connectors used to join pipes and equipment in the oil and gas industry. The unions consist of three main parts: a male sub, a female sub, and a wing nut. The wing nut is hammered to tighten the connection, which compresses a seal to prevent leakage. The color of the wing nut is often used for quick identification of the union's pressure rating.