* Adverb: It often functions as an adverb of place, indicating location. Example: "The book is here."
* Interjection: It can be used as an interjection to express surprise or agreement. Example: "Here comes the bus!"
* Pronoun: In rare cases, it can act as a pronoun, referring to a previously mentioned place. Example: "I'm here now, where you left me."
It's not a noun, verb, or preposition.