A loosely twisted thread used for knitting and weaving.
The woman was using yarn to knit the scarf for the coming winter.
Yarn is spelled how it sounds!