* Adverb: This is the most common use. "Anyway" modifies verbs, adjectives, or other adverbs, indicating something like:
* In any case: "I don't feel well, but I'll go anyway."
* Regardless: "He said he'd come, but anyway, I'm not sure he will."
* In conclusion: "I'm going to bed now. Anyway, good night."
* Interjection: "Anyway" can also be used as an interjection, expressing a change of subject or a dismissal of the previous topic: "Anyway, I have to go now."
* Noun: Less common, but "anyway" can be used as a noun, referring to a specific way of doing something: "That's not the right way to do it. There's a better way, anyway."
It's important to consider the context of the sentence to determine the specific part of speech for "anyway".