Final answer:
The composition of stars can be determined by analyzing their spectra using stellar spectroscopy.
Step-by-step explanation:
Yes, the composition of stars can be determined by analyzing their spectra. The composition of stars can be determined by analyzing their spectra using stellar spectroscopy. Spectra of stars can reveal their chemical composition by analyzing the presence of absorption and emission lines.
By studying the spectral lines, astronomers can determine the elements present in the star, such as hydrogen and helium which make up most of the mass of stars. Stellar spectroscopy is the method used to analyze the spectrum of a star and determine its composition.