Terraria item ID 5212. Terraria 1.4.5.7.
The Scarlet Macaw and Blue Macaw 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. Macaws have only 5 health and no defense, and can be damaged by other enemies and players. Macaws can be caught with any Bug Net to be carried around in the inventory and released later, or crafted into animated decorative furniture (Scarlet / Blue Macaw Cage).
Description from the Terraria Wiki.