Yes, scientists can analyze the light spectrum emitted by stars to determine their composition. Different elements emit specific wavelengths of light, allowing researchers to identify the elements present in a star.