The working of electronic firecrackers is quite simple. These devices consist of small pods connected to each other through wires. LED lights are attached to these pods. When you plug in an electric firecracker, the high-voltage generator inside the pod sparks at random intervals. These sparks create a crackling sound similar to firecrackers.