I want to know when can we use it and why?
Sorry , explain what ?
we use "it" to refer to non-sentient things : animals , objects etc...