The systematic attribution of spectra to chemical elements began in the 1860s with the work of German physicists Robert Bunsen and Gustav Kirchhoff, who found that Fraunhofer lines correspond to emission spectral lines observed in laboratory light sources. This laid way for spectrochemical analysis in laboratory and astrophysical science. Bunsen and Kirchhoff applied the optical techniques of Fraunhofer, Bunsen's improved flame source and a highly systematic experimental procedure to a detailed examination of the spectra of chemical compounds. They established the linkage between chemical elements and their unique spectral patterns. In the process, they established the technique of analytical spectroscopy. In 1860, they published their findings on the spectra of eight elements and identified these elements' presence in several natural compounds. They demonstrated that spectroscopy could be used for trace chemical analysis and several of the chemical elements they discovered were previously unknown. Kirchhoff and Bunsen also definitively established the link between absorption and emission lines, including attributing solar absorption lines to particular elements based on their corresponding spectra. Kirchhoff went on to contribute fundamental research on the nature of spectral absorption and emission, including what is now known as Kirchhoff's law of thermal radiation. Kirchhoff's applications of this law to spectroscopy are captured in three laws of spectroscopy :