A comet is a small celestial body that orbits the Sun and releases gas or dust. Comets are often referred to as "dirty snowballs" or "icy dirtballs" because they are composed of ice, dust, and rocky material.
Comets have three main parts: the nucleus, coma, and tail.
Comets are made up of various ices such as water ice, carbon dioxide ice, and ammonia ice, as well as rocky material and organic compounds.
Comets have highly elliptical orbits that can take them far from the Sun to the outer solar system and then back to the inner solar system. They are often visible from Earth as they approach the Sun and their tails become more prominent.