In histology, AFM is used to analyze the ultrastructure of cells and tissues. It has applications in studying cell membranes, extracellular matrix components, and intracellular structures. AFM can also be employed to measure the mechanical properties of tissues, providing insights into tissue health, disease progression, and the effects of treatments.