Spectroscopy in astronomy is a method in which astronomers use special instruments ("colour decoders" called spectrographs) to decompose light from stars, galaxies, and other objects in space into different colours, to reveal their composition, their movement, their age, and much more.