A comet is an icy small Solar System body that, when passing close to the Sun, warms and begins to release gases, a process called outgassing.