But only three years after Comte’s death, it was discovered that a spectrum can be used to determine the chemistry of distant objects. Different molecules and chemical elements absorb different frequencies or colors of light, sometimes in the visible and sometimes elsewhere in the spectrum.

