Spectroscopy shows what elements are present in the star, it's chemical composition. The different elements give off different energy signatures through radiation, which relate to the wavelength and...
A star's spectrum can tell you what elements the star is made out of, the temperature of the star, how/if a star is moving, the density of the star and much, much more. The color of stars are...
Its all to do with the composition of the star, the different elements present in the star will give of different spectra - spectroscopy. Different atoms and molecules give off energy, relating to...