Starting in 1863, he began collecting the spectra of stars, accumulating some 4,000 stellar spectrograms. Through analysis of this data, he discovered that the stars come in a limited number of distinct types and subtypes, which could be distinguished by their different spectral patterns. From this concept, he developed the first system of stellar classification: the five Secchi classes. While his system was superseded by the Harvard system, he still stands as discoverer of the principle of stellar classification, which is a fundamental element of astrophysics. His recognition of molecular bands of carbon radicals in the spectra of some stars made him the discoverer of carbon stars, which made one of his spectral classes.