The coma is the nebulous envelope around the nucleus of a comet, formed when the comet passes near the Sun in its highly elliptical orbit. As the comet warms, parts of it sublimate; this gives a comet a diffuse appearance when viewed through telescopes and distinguishes it from stars. The word coma comes from the Greek κόμη (kómē), which means "hair" and is the origin of the word comet itself.
The coma is generally made of ice and comet dust. Water composes up to 90% of the volatiles that outflow from the nucleus when the comet is within 3–4 au (280–370 million mi; 450–600 million km) from the Sun. The H2O parent molecule is destroyed primarily through photodissociation and to a much smaller extent photoionization. The solar wind plays a minor role in the destruction of water compared to photochemistry. Larger dust particles are left along the comet's orbital path while smaller particles are pushed away from the Sun into the comet's tail by light pressure.