The hex pipe plug is threaded in the end and the top of the plug takes a hexagon shape.
Malleable cast iron plain plug is used to mount at the pipe end by male threaded connection with protruded end at the other side, so to block the pipeline and form liquid or gas tight seal.