There are two main types of comet tail. Ioized gas forms an ion tail, which appears bluish, while dust particles form a yellowish dust tail. The dust tail curves out from the comet under the pressure of sunlight.
The ion tail reacts particles of wind and is pushed away from the Sun that both tails the comet when approaching the Sun, but when the comet moves away from the Sun, the tails lead.
In addition to these tails, small jets of dust and gas may erupt. Such eruptions are triggered as the nucleus rotates and sensitive areas heat up quickly as the Sun rises over them. Seen through a telescope, jets are a striking sight.