AFM is a type of [scanning probe microscopy]() that operates by scanning a sharp tip over the surface of a sample to measure various properties. The tip is attached to a cantilever, and as it moves across the sample, the deflection of the cantilever is monitored using a laser beam. This allows for precise mapping of surface topography at the nanometer scale.