Electromagnetism, Optics, and Modern Physics