# Does Earth get in Hubble's way?

Hubble takes very long exposures for its images so that it can collect enough light to see very distant objects. These exposures can be several hours, or even several days, long. I often read that the Hubble Ultra Deep Field image was taken with a 1,000,000 second exposure.

It takes Hubble about 97 minutes to orbit Earth once, so while it's orbiting Earth how do they manage to keep it focused on a single point? When Hubble goes behind Earth on its orbit, wouldn't Earth get in the way of the image?