A closer look at Dithering exposures
Dithering shifts the pointing slightly between exposures.
The same piece of sky then lands on different pixels. Registered images can be combined to reject detector defects, sample the image better, or cover gaps between chips. Difference imaging subtracts a matched reference image from a new exposure to reveal changes. A bias frame measures the electronic offset present at readout.
A bad pixel stays at one detector position. After aligning the images on stars, that defect moves from frame to frame while the sky lines up.
Space Telescope Science Institute · Dithering Strategies · C.1 Why Mosaicking and Dithering are Needed - HST User Documentation
Want to learn more about Dithering exposures? Drizzle (image processing) on Wikipedia.

