Resonant inelastic X-ray scattering (also known as resonant X-ray Raman spectroscopy when only valence and conduction states are involved in the final state excitation) has developed into a major tool for understanding the electronic properties of complex materials. Presently it provides access to electron excitations in the few hundred meV range with element and bulk selectivity. Recent progress in X-ray optics and synchrotron radiation engineering have opened up new perspectives for this powerful technique to improve resolving power and efficiency. We briefly present the basics of the method and illustrate its potential with examples chosen from the literature.