The study of comets