Like with most things in nature, electricity always takes the path of least resistance. So, while welding, you connect a ground to the piece you are welding. This provides a path to ground with minimal or near 0 resistance. Needless to say, this is much less resistance than traveling through your body.
This is my very limited understanding of the situation, hope it helps.
Latest Answers