This process occurs when a photon interacts with a particle in a medium and changes its direction of motion without changing its frequency. Scattering can be elastic or inelastic and can occur due to a number of different mechanisms, such as Rayleigh or Mie scattering.