When X-rays interact with nanomaterials, they can be absorbed, scattered, or transmitted. This interaction is fundamental to techniques such as X-ray diffraction (XRD), which can reveal the crystalline structure of materials, and X-ray absorption spectroscopy (XAS), which provides information on the electronic states and local structure around specific atoms.