Acetic acid was added to a solid X kept in a test tube. A colourless and odourless gas Y was evolved. The gas was passed through lime water which turned milky. It was concluded that____

A. Solid X is sodium hydroxide and the Y is CO²

B. Solid X is sodium bicarbonate and gas Y is CO²

C. Solid X is sodium acetate and the gas Y is CO²

D. Solid X is sodium bicarbonate and the gas Y is CO²