A celestial body orbits the Sun. It consists of rock and ice. As it passes close to the Sun, the body forms a long tail of dust. Which body best matches this description?

a.asteroid
b.comet
c.dwarf planet
d.planet