Scanning electron microscopy (SEM) and transmission electron microscopy (TEM) are techniques used to image samples at very high magnifications. SEM works by scanning a sample's surface with a focused beam of electrons, while TEM transmits electrons through an ultra-thin sample. Both techniques use electron detectors and electromagnetic lenses to form images with resolutions better than optical microscopes. Key applications include examining biological structures, materials science, and semiconductor manufacturing.