The part of speech of 'there' depends on how it is used in a sentence; for example:
Adverb: Stop there before you say another thing.
Adjective: That street there is Main Street.
Noun: From there we went on to New York.
Pronoun: There are still people waiting.
Interjection: There, there! Don't cry.