Comet tails are mostly made of?

Ice , dust and gases .