The atomic force microscope (AFM), invented in 1986, uses a sharp probe to scan sample surfaces while measuring force changes to generate high-resolution images. It operates through various modes, including contact, tapping, and non-contact, each suited for different applications and sample types. The AFM provides true three-dimensional surface profiles without requiring special sample treatments, though it has limitations in imaging size compared to scanning electron microscopes.