She invented the first type of a diffraction grating that subdivided starlight into a visible spectrum, which no human had done prior. That is how she classified stars, through the thicknesses and widths of the stars absorption lines. We still use that today