There are 2 main types of comet tails — dust and gas. Dust tails are formed when solar wind pushes small particles in the coma (a cloud that forms around the comet) into an elongated, curved path. Ion tails are formed from electrically charged molecules of gas.