It's used for making a red hat (6)
I believe the answer is:
thread
'it's used' is the definition.
I can't tell whether this definition defines the answer.
'making a red hat' is the wordplay.
'making' is an anagram indicator.
'red'+'hat'='redhat'
'redhat' anagrammed gives 'THREAD'.
'for' is the link.
Can you help me to learn more?
(Other definitions for thread that I've seen before include "Dearth (anag)" , "Fine strand" , "Dearth of stitching material" , "What sewer takes" , "Subject" .)