X-ray Diffraction (XRD) is used to determine the crystalline structure of nanomaterials. By analyzing the diffraction patterns produced when X-rays interact with a material, researchers can identify the arrangement of atoms and any crystalline defects. This is crucial for understanding the material's properties and potential applications.