Terraria item ID 4847. Terraria 1.4.5.7.
The Lavafly is a critter that spawns occasionally in the Underworld at night. It also has a small chance of spawning upon shaking an Ash tree in the Underworld at any time. Also from destroyed wild Ash grass plants at any time and even outside of the Underworld.It gives off a tiny amount of light, similarly to the Firefly. The Lavafly has only 5 health and no defense, and can be damaged by other enemies and players. The Lavafly can only be caught with the Lavaproof Bug Net or the Golden Bug Net. Trying to catch it with a standard Bug Net will only set the player on fire.
Description from the Terraria Wiki.