It receives electrical power from its power source.
Its inverter circuit converts and regulates the electrical power.
It supplies welding current to the electrode.
The electrode produces an electric arc when brought close to the metal.
The heat melts the electrode and the edges of the metal, joining them together.