Compton effect is defined as the effect that is observed when x-rays or gamma rays are scattered on a material with an increase in wavelength.