1. There were two people found dying at home.
2. Two people were found dying at home.
What is the function of 'there' in these simple sentences ?
There is a race on Sunday.
Here it is clear, integral to the sentence, and cannot be omitted. There is part of the sentence and it is specifying a race.
There are thousands of stars visible from Earth.
Thousands of stars are visible from Earth.
com/existential-there-term-1690690 There is a race on Sunday. Here are two sentences without the existential there : The race is on Sunday. A race will be held on Sunday.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
Read this good explanation, Panda Blue:
https://www.thoughtco.com/existential-there-term-1690690
There is a race on Sunday.
Here are two sentences without the existential there:
The race is on Sunday.
A race will be held on Sunday.
The two alternants in each of your pairs have the same meaning.
"There" is a dummy pronoun functioning as subject of the existential clauses that you cited.