AFM employs a sharp tip that scans the surface of a sample to produce high-resolution images. The tip is mounted on a cantilever, which bends in response to forces between the tip and the sample surface. Various modes such as contact mode, tapping mode, and non-contact mode are used to acquire topographical and mechanical data.