A compression fitting is a type of fitting used to join two pipes or a pipe and a fitting or valve together. It uses a compression nut and a compression ring to seal the connection.