The basic principle of Nano XRF involves directing a focused X-ray beam onto a sample. When the X-rays interact with the atoms in the sample, they cause the emission of secondary (or fluorescent) X-rays that are characteristic of the elements present. These emitted X-rays are then detected and analyzed to determine the elemental composition of the sample. The resolution of Nano XRF is achieved by using specialized lenses or capillaries to focus the X-ray beam to a nanometer-sized spot.