I'll give it a first try... "It" is a pronoun (neutral), so it always refers to either a thing or a fact, or a (part of a) sentence. "There" is an adverb, so doesn't replace anything.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.