X-ray crystallography (or X-ray diffraction, XRD) is a widely used technique for determining the atomic and molecular structure of a crystal.