Applications of Compton scattering