X-ray diffraction (XRD) is a technique for analyzing the atomic or molecular structure of materials. Crystalline materials are the most analyzed type of material XRD but there are variations of the methodology that are suitable for other types of material such as powder X-ray diffraction.