This document discusses the use of spectroscopy in astronomical observations. Spectroscopy can be used to derive many properties of distant stars and galaxies, such as chemical composition, temperature, density, mass, distance, luminosity, and relative motion. However, Earth's atmosphere interferes with certain wavelengths of light. Infrared and ultraviolet light are absorbed, requiring the use of satellites. Spectroscopy has also been used to discover compounds in exoplanet atmospheres like water vapor and methane. Future advancements may allow astronomers to better study objects and find habitable planets.