What is the tail of a comet?

The tail of a comet is basically dust, and sediment burned off of the comet itself.