The photoelectric effect demonstrates the relationship between photon frequency and energy. When light of a certain minimum frequency shines on a metal surface, electrons are emitted. The maximum kinetic energy of the emitted electrons depends on the frequency of absorbed light based on Einstein's equation, which relates the photon frequency, stopping potential, and metal's work function. The photoelectric effect provided evidence that light behaves as discrete packets of energy called photons rather than as a wave.