X-ray absorption spectroscopy (XAS) is used to study the coordination structure of atoms in materials and molecules. The synchrotron beam energy is tuned through the absorption edge of an element of interest, and modulations in the absorption are measured. Photoelectron transitions cause modulations near the absorption edge, and analysis of these modulations (called the X-ray absorption near-edge structure (XANES) or near-edge X-ray absorption fine structure (NEXAFS)) reveals information about the chemical state and local symmetry of that element. At incident beam energies which are much higher than the absorption edge, photoelectron scattering causes "ringing" modulations called the extended X-ray absorption fine structure (EXAFS). Fourier transformation of the EXAFS regime yields the bond lengths and number of the surrounding the absorbing atom; it is therefore useful for studying liquids and amorphous materials as well as sparse species such as impurities. A related technique, X-ray magnetic circular dichroism (XMCD), uses circularly polarized X-rays to measure the magnetic properties of an element.