Nanoindentation is a technique used to measure the mechanical properties of materials at the nanoscale. By pressing a sharp indenter into the surface of a material, one can obtain data on hardness, elastic modulus, and other mechanical properties. This method is particularly useful for studying thin films, small volumes of materials, and surfaces with complex microstructures.