A comet is a small body in the solar system that orbits the Sun and (at least occasionally) exhibits a coma (or atmosphere) and/or a tail — both due primarily to the effects of solar radiation upon the comet's nucleus, which itself is a minor planet composed of rock, dust, and ices.