Is "it" used as a demonstrative pronoun like "that" or "this" in these situations and is the speaker pointing to the objects mentioned?
My friend sees a beautiful ring on my finger and asks me "What is it?"
My sister puts something she has just bought in the supermarket and I ask her "What is it?" She is holding it in her hand or it is near her on the table.