Terraria item ID 254. Terraria 1.4.5.7.
Threads are crafting materials used primarily in vanity items. Black Thread and Pink Thread can be purchased from the Clothier, while Green Thread can be crafted.
Description from the Terraria Wiki.
Dungeon Guardian: Terraria crafting trees for every item