Question: what is the difference between it and there?
Answer: There is a bit of a difference of the two. When you use "there is" as you did in the first sentence you stress that something exists. In contrast, when you use "It is" in the above example it is a bit different. "It is" seems to refer to something else that you mentioned earlier in a conversation.