* Noun: This is the most common use, referring to the vegetable itself. Example: "I added an onion to the soup."
* Adjective: Describing something related to onions. Example: "onion rings" or "onion dip."
* Verb: While less common, it can mean to make someone cry. Example: "The smoke from the chili onions my eyes."
So, the part of speech depends on the context!