One of the time consuming and expensive operations when welding pipes, is the purging. To ensure that no oxidation occurs on the inside of the pipes mostly a purging with gas is made. This fills the pipe with gas and the pipe is continuously flushed during welding.
Imagine that you could just apply gas where the welding takes place, and that the gas inside the pipe follows the torch on the outside of the pipe.