This NASA/ESA Hubble Space Telescope image of the barred spiral galaxy UGC 12158 looks like someone took a white marking pen to it. In reality it is a combination of time exposures of a foreground asteroid moving through Hubble’s field of view, photobombing the observation of the galaxy. Several exposures of the galaxy were taken, which is evidenced by the dashed pattern.
The asteroid appears as a curved trail as a result of parallax: Hubble is not stationary, but orbiting Earth, and this gives the illusion that the faint asteroid is swimming along a curved trajectory. The uncharted asteroid is inside the asteroid belt in our Solar System, and hence is 10 trillion times closer to Hubble than the background galaxy.
Rather than being a nuisance, this type of data is useful to astronomers for doing a census of the asteroid population in our Solar System.
[Image description: This is a Hubble Space Telescope image of the barred spiral galaxy UGC 12158. The majestic galaxy has a pinwheel shape made up of bright blue stars wound around a yellow-white hub of central stars. The hub has a slash of stars across it, called a bar. The galaxy is tilted face-on to our view from Earth. A slightly S-shaped white line across the top is the Hubble image of an asteroid streaking across Hubble’s view. It looks dashed because the image is a combination of several exposures of the asteroid flying by like a race car.]