The pipe plug is used to block and seal the ends of pipes to prevent the flow of fluids like water, oil etc.