Dear student,
According to Einstein , the emission of the photoelectron is result of interaction between photons in incident radiation and electrons in the metal surface.When the photon of energy is incident on the metal surface its energy is used in two ways
(i) A part of energy is used to remove the electron from the surface of metal because the electrons are tightly bound to nucleus.The work function of the photo metal is defined as minimum amount of energy required to remove an electron from the metal surface.
(ii)The remaining energy is used to impart kinetic energy to the liberated electrons.
Energy of the incident photon =work function+kinetic energy of the electron
If the electron did not lose its energy due to internal collision then the entire energy will be exhibited as the kinetic energy.Thus represents maximum kinetic energy of the ejected photon.If vmax is the maximum velocity with which photoelectron is ejected is
This known as Einstein photoelectric equation.
Regards.