I have heard about people using electricity to catch worms, mostly around catching worms for fishing. 

How does this work?

Is it safe?