From the Super Mario Wiki
Li'l Sparkies are small sparks that travel along platforms, first appearing in Super Mario World. In the latest games however, they seem to be almost completely replaced by Amps, an unlikely relative with similar traits and behavior.
Super Mario series
Super Mario World
They are similar to Sparks in Super Mario Bros. 2. They have the same immunities as Boos (i.e. invincible to almost everything). Additionally, Big Sparkies (usually referred to as Hotheads) could be found in Bowser's Castle.
Super Mario Advance 4: Super Mario Bros. 3
A Li'l Sparky is found in the E-Reader stage "Swinging Bars of Doom" in Super Mario Advance 4: Super Mario Bros. 3. Unlike in Super Mario World, it can be defeated by Statue Mario's stomp or by Hammers thrown by Hammer Mario.
In Paper Mario, a Li'l Sparky named Watt was imprisoned and tortured by the Big Lantern Ghost. After Mario defeats the Lantern Ghost, Watt joins Mario's party, making her the first playable Li'l Sparky. Other members of her species may be contained in the lamps of the Lantern Ghost.
Mario and Luigi: Superstar Saga
Super Princess Peach
Notable Li'l Sparkies
Names in other languages