Shielding gas in welding is done to protect the liquid metal pool created in the welding process from atmospheric contamination so that the weld can be better. It is common in MIG and TIG welding.