es
it
Serves as a substitute (pronoun) for a single neuter noun, both in the nominative and in the accusative.
Das ist mein neues Fahrrad. Es war ziemlich teuer.
That is my new bicycle. It was pretty expensive.

it
Loading your saved state.
it
Serves as a substitute (pronoun) for a single neuter noun, both in the nominative and in the accusative.
Das ist mein neues Fahrrad. Es war ziemlich teuer.
That is my new bicycle. It was pretty expensive.

You have to distinguish between two types of 'es' (it). The placeholder 'es' at the beginning of a sentence disappears when another word is in position 1. The fixed 'es' for weather, time, or in expressions like 'es gibt' (there is/there are) must always remain in the sentence.
Es kommt ein Gast. -> Ein Gast kommt.
A guest is coming. -> A guest is coming.
The pronoun 'es' (it) replaces a neuter noun (a 'das' word). It is used to avoid repetition.
Ich habe ein neues Handy gekauft. Es hat eine sehr gute Kamera.
I bought a new phone. It has a very good camera.
For general statements about the weather, the time of day, sounds, or well-being, the impersonal 'es' (it) is used as the subject. It does not refer to a specific thing.
Es ist kalt draußen.
It's cold outside.
When the actual subject of the sentence comes later, 'es' (it) can take the first position in the sentence as a placeholder. This is often used in written or more formal language.
Es ist noch Suppe von gestern da.
There is still some soup from yesterday.
'Es' (it) can refer to the content of an entire previous sentence or idea. In this function, 'es' summarizes a complete piece of information.
Die Prüfung war sehr schwer, aber sie hat es geschafft.
The exam was very difficult, but she managed it.
The expression 'es gibt' (there is/there are) is very common and means 'to exist'. It is important that the noun that follows is always in the accusative. This is a common mistake.
In unserer Stadt gibt es einen großen Park.
There is a large park in our city.
the / that
'das' and 'es' can both refer to a neuter thing or to an entire idea or piece of content. That is why they are easy to confuse. 'das' is often used when you are pointing to something, emphasizing it, or defining it more precisely: 'Das ist wichtig.' (That is important.) Also, 'das' appears as an article before a neuter noun or as a relative pronoun in a subordinate clause. 'es' usually replaces a neuter noun or known content without emphasizing it strongly. It often sounds more natural when the thing has already been mentioned. A simple guideline is: before a noun, use 'das'; as a neutral substitute in a sentence, it is often 'es'. If you want to point something out or emphasize it especially, 'das' is more likely to fit.

Sie hat das Formular im Zug gelesen und es später ihrer Familie gezeigt.
She read the form on the train and later showed it to her family.
Vor dem Termin ist das noch nicht ganz klar.
Before the appointment, that is not completely clear yet.