Fetching details from the dictionary...

knitting wool; woolen yarn; woollen yarn
祖母は毛糸でセーターを編んでくれた。
My grandmother knitted me a sweater with yarn.
毛糸を買いに近所の手芸店に行った。
I went to a craft store to buy yarn.
カラフルな毛糸で帽子を作っている。
I'm making a hat with colorful yarn.