What two distinct pieces of information does a star's full spectrum provide to astronomers?

Answer

Its composition and its velocity toward or away from us.

The general color/spectrum relates to temperature/composition, but the shifting of the spectral lines specifically provides the measurement of the velocity toward or away from us (radial velocity).

What two distinct pieces of information does a star's full spectrum provide to astronomers?
lightcolorstarmotionspectrum