A comet is a large ball of glowing gases, dust and ice. There are billions of comets circling around the Sun. When a comet gets near the Sun, the sun's heat melts some of the frozen gas. Bits of rocks and metals stream off into space. These form a glowing tail when the Sun shines on them.