The correct answers are:
A. temperature
D. composition
Spectroscopy can provide information about the temperature of objects in space by analyzing the emission or absorption lines in their spectra, and it can also determine the composition of these objects by identifying the elements and molecules present based on their spectral lines.