HRXRD involves directing X-rays at a sample and measuring the intensity of the diffracted rays as a function of the angle. The high resolution is achieved through the use of monochromatic X-rays and advanced detectors, which enable the detection of fine details in the diffraction pattern. This allows researchers to identify and quantify different phases and defects within the material.