A universal joint, also known as a U-joint, is a mechanical connection between rotating shafts that are not in line with each other. It allows for the transmission of torque and rotary motion despite misalignment, making it fundamental in applications like automotive drivetrains and machinery requiring angle variations.