He was studying the different colors of sunlight using a prism when he noticed that the temperature was highest just beyond the red end of the visible spectrum. He concluded that there must be some invisible radiation beyond red light, which he called "calorific rays" (heat rays).
This discovery led to the development of the field of infrared spectroscopy, which is used to study the chemical composition of materials.