Terraria item ID 5313. Terraria 1.4.5.7.
The Yellow Cockatiel and Gray Cockatiel are critters that spawn in the Jungle during the daytime. They also have a small chance of spawning upon shaking a Mahogany tree during the day. They may turn hostile to players with negative luck; see hostile critter for details. Cockatiels have only 5 health and no defense, and can be damaged by other enemies and players. Cockatiels can be caught with any Bug Net to be carried around in the inventory and released later, or crafted into animated decorative furniture (Yellow / Gray Cockatiel Cage).
Description from the Terraria Wiki.