The AFM can do some things that the SEM cannot do. The AFM can provide higher resolution than the SEM. Further, the AFM does not need to operate in a vacuum. In fact, the AFM can operate in ambient air or water, so it can be used to see surfaces of biological samples like living cells.