Astronomers use a special kind of instrument called a spectrometer to analyze stars. Spectrometers can determine what stars are made of even if the stars are very far away. How is it possible for spectrometers to do this?