Gustav Kirchhoff and Robert Bunsen established in 1859 that each chemical element produces a unique pattern of emission and absorption lines in the light spectrum, founding modern analytical spectroscopy. The method allowed determining the chemical composition of distant objects from their light, transforming astronomy: the stellar absorption lines Mayor and Queloz measured in 1995 to detect 51 Pegasi b are the direct application of this principle.