X-ray diffraction (XRD) is a powerful analytical technique used to investigate the crystallographic structure of materials.