This lecture covers synchrotrons, x-ray free-electron lasers, x-ray emission spectroscopies, and resonant inelastic x-ray scattering. It discusses the advantages of photons over particles, low-energy excitations, RIXS process, energy-resolved incident and emitted radiation, applications in electronic and magnetic properties of materials, and RIXS instrumentation for SXR and HXR beamlines.