SEM operates by directing a beam of electrons onto the surface of a specimen. The electrons interact with the sample and produce various signals, including secondary electrons, backscattered electrons, and characteristic X-rays. These signals are collected and converted into an image. The high magnification and depth of field provided by SEM make it ideal for viewing surface details of biological specimens.