Terraria item ID 1992. Terraria 1.4.5.7.
The Firefly is a harmless critter that gives off a tiny amount of light. Fireflies will spawn near grass on the surface at night, except inside houses. Their spawn rate will be randomly set everyday, making their spawn amount varying greatly each night. The Firefly has only 5 health and no defense, and can be damaged by other enemies and players. The Firefly can be caught with any Bug Net to be carried around in the inventory and released later, or crafted into animated decorative furniture (Firefly in a Bottle).
Description from the Terraria Wiki.