The work function is the minimum energy required for photoelectric emission. When individual photons of monochromatic light with energy E=hf interact with individual electrons they transfer all their energy . Those electrons that are held least tightly only require enough energy to overcome the work function to escape and as a result leave with maximum kinetic energy remaining. Some electrons are held more tightly and must use more energy in emission resulting in smaller values for their kinetic energy.