Much like the electric fences used for large mammals like horses or cows ... The wires are connected to a nine-volt battery. No boost circuit, no transistors, just nine volts across two wires.