The photoelectric effect is the flow of electric current in a material when it is exposed to light. Although the effect itself had been known for some time, Albert Einstein first described how it was caused by absorption of photons, or quanta of light, in the interaction of light with the electrons in the substance.
The phenomena was difficult to understand in terms of the classic wave description of light - the energy of the emitted electrons did not depend on the intensity of the incoming light. Furthermore, for a given material, there would be a wavelength threshold: light longer than this wavelength, no matter what its intensity, did not produce the effect.
The simple explanation by Einstein in terms of absorption of single quanta of light explained the features of the phenomena very well. The photons of the light beam have a characteristic energy given by the wavelength of the light. In the photoemission process, if electron absorbs the energy of one photon and has more energy than the work function, and gets ejected from of the material. If the photon energy is too low, however, the electron is unable to escape the surface of the material. Increasing the intensity of the light beam does not change the energy of the constituting photons, only their number, and thus the energy of the emitted electrons does not depend on the intensity of the incoming light.