* Present participle: This is the most common usage. It acts as a verb, often part of a verb phrase: *He is trying to open the door.*
* Adjective: This is less common but can occur, usually in a more informal style: *She's got a trying personality.*
* Gerund: This is another form of verb that acts as a noun: *Trying to solve the problem was exhausting.*
Let me know the specific sentence you're working with, and I can tell you the exact part of speech for "trying" in that case!