When a small piece of white marble rock is carefully placed in a beaker of hydrochloric acid, bubbles form on the surface of the rock and rise to the top of the liquid. Which conclusion best fits this observation?

A.The rock heated the acid until it began to boil.
B.The rock dissolved in the acid by breaking into its smallest pieces.
C.The rock was changed by the acid into its gaseous form.
D.The rock reacted with the acid and made a new gaseous substance.