Why do comets have tails?
Comets are like giant dirty snowballs made of ice, dust and rock. When a comet comes close to the Sun, the heat turns some of its ice into gas, which carries dust along with it. Sunlight and a stream of particles called the solar wind push this gas and dust into long tails. A comet’s tail always points away from the Sun.