A comet is an icy rock shooting through space. When it passes close to the Sun, it warms and begins to release trapped gasses — a process called outgassing