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