Hello!
'there' is an adverb: 'you can't stay there' (the opposite of here)'their' is a possessive adjective: 'he is their hero' (that means that he is the hero of them)'they're' is the contracted form for 'they are' (subject + verb to be)