It is a dummy "it", necessary to satisfy the sentence's grammatical requirements, but not referring to anything specific. It is similar to the "it" in "it's raining".
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.