X-ray diffraction (XRD) is a technique used to study the atomic structure of crystalline materials by observing the patterns produced when X-rays are diffracted through them. It provides information about the arrangement of atoms and can reveal details about the crystal's lattice parameters.