When a metal is heated in a flame, the flame has a distinctive color. This information was eventually extended to the study of stars because
A the color spectra of stars indicate which elements are present.
B a red shift in star color indicates stars are moving away.
C star color indicates absolute distance.
D it allows the observer to determine the size of stars.