When a light of certain frequency falls on the surface of a metal
Electrons will absorb the energy
If incident light energy is greater than the work function(minimum energy required to remove the loosely bound valence electrons)of the metal
Then the photo electrons will be emitted and
The excess energy is converted to the kinetic energy of electron.