Ritter made very important discoveries regarding electrochemistry and ultraviolet light. He is credited with discovering the ultraviolet part of the electromagnetic spectrum and the dry pile electric battery.
He died young in Munich, possibly due to using his own body in electrical experiments.