X-ray diffraction (XRD) is a non-destructive analytical technique that examines the physical properties of materials through the diffraction of X-rays by crystalline structures. The technique aids in identifying phase composition, determining crystal size, and analyzing crystal orientation, making it vital in fields like geology, material science, and the pharmaceutical industry. Bragg's law governs the principle of diffraction, allowing for the measurement of interatomic distances and the characterization of unknown materials.