Maxwell showed that light is an electromagnetic wave, thus he unified electricity, magnetism and optics.