The term "work function" refers to the minimum amount of energy required to extract a single electron from the valence shell of a metal. The type of metal we use determines the outcome. The photoelectric effect occurs only when the frequency of the light wave is greater than the threshold frequency. If the frequency of the light wave is less than the threshold frequency, the photoelectric effect does not occur