Astronomical spectroscopy is a technique used to analyze the light from celestial objects, revealing their composition, temperature, density, mass, distance, luminosity, and relative motion. By studying the spectral lines, astronomers can identify chemical elements and determine physical properties of stars, galaxies, and other astronomical phenomena.