Terraria item ID 2018. Terraria 1.4.5.7.
The Squirrel and Red Squirrel(Desktop, Console and Mobile versions) are critters that spawn in the Forest biome. They also have a small chance of spawning upon shaking a Forest or Pearlwood tree. Squirrels may turn hostile to players with negative luck; see hostile critter for details. Squirrels have only 5 health and no defense, and can be damaged by other enemies and players. Squirrels can be caught with any Bug Net to be carried around in the inventory and released later, or crafted into animated decorative furniture (Squirrel / Red Squirrel Cage).
Description from the Terraria Wiki.