mig welding is metal inert gas welding..
the filler electrode melts and fill the gap between the metal... however due to the high temperatures the metal oxidises immediately... so to prevent that an inert gas like argon is continuously sprayed on the welded area while welding to prevent any air(oxygen) in that area.
metals like aluminium are welded this way.