There is in regards to location
ex. "the ball is over there."
Their is used when someone owns something,
ex. "that ball is theirs"
They're is a contraction that means they are. If you're ever confused about when to use they're, replace it in your mind with the words "they are" to see if it makes sense in that context!
ex. "they're playing with the ball"