What is the device that corrects an impedance mismatch and is used to connect cables to other cables or equipment?

What is the device that corrects an impedance mismatch and is used to connect cables to other cables or equipment?