* Noun: When referring to the state of being hard or challenging.
* Example: "The difficulty of the task made me want to give up."
* Adjective: When describing something as hard or challenging.
* Example: "This is a difficulty problem." (Although it's more common to use "difficult" as the adjective)
Let me know if you have any other words you'd like help identifying the part of speech for!