The flange connection type usually comes with double units, with a gasket and some bolts & nuts to connect each other. (Firstly pipes are welded on the flanges, then valves and other equipment could be installed on flanges.)
When connecting these parts, put gasket in the middle of two flanges, then tightening the flange screws, so the two will be connected together tightly.