There can be used in the following ways:
*as a pronoun (to introduce the subject of the sentence): There's a spider in the bath.
**as an adverb: Wait there until I get back.( there is the opposite of here)
***as an interjection: There, that didn't hurt so much, did it?