The pipe connector is designed to connect pipes to each other, as well as to other parts, for example, a drain receiver or elbow.
eBay