What does the theory of photoelectric effect explain ?
The idea of light quanta contradicted the wave theory of light that followed naturally from James Clerk Maxwell 's equations for electromagnetic behavior and , more generally , the assumption of infinite divisibility of energy in physical systems .