A comet tail and coma are visible features of a comet when they are illuminated by the Sun and may become visible from Earth when a comet passes through the inner Solar System. As a comet approaches the inner Solar System, solar radiation causes the volatile materials within the comet to vaporize and stream out of the nucleus, carrying dust away with them.
Blown solar downwind, two separate tails are formed: one composed of dust and the other of gases; they become visible through different phenomena: the dust reflects sunlight directly, and the gases glow from ionization. Most comets are too faint to be visible without the aid of a telescope, but a few each decade become bright enough to be visible to the naked eye.
In the outer Solar System, comets remain frozen and are extremely difficult or impossible to detect from Earth due to their small size. Statistical detections of inactive comet nuclei in the Kuiper belt have been reported from the Hubble Space Telescope observations, but these detections have been questioned, and have not yet been independently confirmed. As a comet approaches the inner Solar System, solar radiation causes the volatile materials within the comet to vaporize and stream out of the nucleus, carrying dust away with them. The streams of dust and gas thus released form a huge, extremely tenuous atmosphere around the comet called the coma, and the force exerted on the coma by the Sun's radiation pressure and solar wind cause an enormous tail to form, which points away from the Sun.
The streams of dust and gas each form their own distinct tail, pointing in slightly different directions. The tail of dust is left behind in the comet's orbit in such a manner that it often forms a curved tail called the antitail, only when it seems that it is directed towards the Sun. At the same time, the ion tail, made of gases, always points along the streamlines of the solar wind as it is strongly affected by the magnetic field of the plasma of the solar wind. The ion tail follows the magnetic field lines rather than an orbital trajectory.