Answer : Option B) A Comet
Explanation : A comet is mainly composed of rock, dust, ice and frozen gases like carbon monoxide, carbon dioxide, methane, and ammonia. It is sometimes called as dirty snowballs, recent studies on comets have revealed that the ice of a comet is covered by a crust. Comets also contain many variety of organic compounds as well as the gases.
Comets when comes near the sun while revolving around it loses some of the ice from its crust which gets vaporized by sun's heat.