So compton scattering is where x-rays (or gamma rays) collide with an electron and sends it flying. In the process, the incident photon loses energy and is converted to a lower wavelength. According to wikipedia, Rayleigh scattering is the scattering of photons by particles which are much smaller than the photons wavelength. In Rayleigh scattering, do photons lose energy and change wavelength in the same way they do in Compton scattering? What would be the fundamental difference(s) between these 2 types of scattering?