These short pieces of pipe with male threads at each end are used to connect two other fittings, with an added hex used to aid with installation.