XRD and XRF are analytical techniques used to characterize materials. XRD determines the crystalline structure of materials by measuring diffraction patterns of X-rays. It can identify phases and minerals present in a sample. XRF determines the elemental composition of materials by detecting X-ray fluorescence emitted from a sample. Both techniques are non-destructive and provide qualitative and quantitative analysis of materials' composition and structure.