What is it? Is a question to ask about a thing which has a reference known to the listener.
What is this? Is used to ask about the identity of something near the asked may not know.
What is that ? It is used to ask about thing that is far .
The same works with the other three questions but they are used to ask about plural