The hexagonal part is designed for tightening the connection by wrench, easy to install and disassemble. The brass pipe connector is designed with SAE 45° Flare thread on the one end, and NPT female thread on the other end, widely used for pipe connection.
eBay