We can break light apart into its constituent colors:
Spectroscopy
And learn about the physical conditions in the light-emitting object/substance:
Composition
Temperature
Density
Velocity relative to us