B. What is that? (Correct)
What is it? (Correct)
It is bag. --> It is a bag.
=> Corrected: The sentence is corrected grammatically.