The scattering of an X-ray or gamma ray photon upon impact with an electron within an atom accompanied by transfer of a part of the photon's energy to the electron with consequent loss of frequency