A scientist analyzes the light from a distant galaxy and finds that it is shifted to the longer wavelength of the electromagnetic spectrum. What does this data help to study?
1) the color of the galaxy
2) the distance of the galaxy from Earth
3) the existence of life on any planet in the galaxy
4) the study of the amount of light scattered by dust in space