Fittings installed on the external thread of the pipe end to cover the pipe. It is used to close the…