X-ray absorption spectroscopy (XAS) is a set of advanced techniques used for probing the local environment of matter at atomic level and its electronic structure. The experiments require access to synchrotron radiation facilities for their intense and tunable X-ray beams. Samples can be in the gas phase, solutions, or solids.