* Noun: This is the most common usage, referring to the spun thread used for knitting or crocheting.
* Example: "She bought a ball of red yarn."
* Verb: This is less common but means to tell a story, often in a long and rambling way.
* Example: "He yarned on and on about his fishing trip."
So, to know the specific part of speech, you need to look at the sentence it's used in!