We know that when a low energy photon interacts with a metal surface, it is completely absorbed with the emission of electron which is called Photoelectric effect. We also know that when a high energy photon such as that of X rays is scattered by an atomic electron transferring a part of its energy to the electron which is called Compton effect.