English clauses which are not imperatives must have a subject. Sometimes we need to use a ‘dummy’ or ‘empty’ or ‘artificial’ subject when there is no subject attached to the verb, and where the real subject is somewhere else in the clause. “It” and “there” are the two dummy subjects used in English.