They're usually connected with couplers that feature rubber gaskets surrounded by stainless steel sheathing ... plugs, are threaded. Here are the most common drain fittings.