How does a remote firing system work?

https://www.youtube.com/watch?v=hHZc4m2nMCc

When lighting by hand, you put a flame against the fuse to ignite it. With a remote firing system, you instead attach an electrically operated igniter against the fuse. This is detonated by sending a current down its wires and in turn this ignites the firework's fuse.