When taking images of the night sky we are careful to track the stars to give us a long exposure without any trailing of the image. But even then, we can sometimes pick up moving objects such as asteroids, or comets.
There are a set of techniques that can help you to extract moving objects from your images to help you to detect asteroids and comets.