The use of spectroscopy as a technique for obtaining observational data on the composition, physical conditions, and velocities of astronomical objects.