A beam of light coming to Earth from a distant quasar passes through numerous intervening gas clouds in galaxies and in intergalactic space. These clouds subtract specific colors from the beam. The resulting composite "absorption spectrum" is used to determine the distances and chemical composition of the invisible clouds.