In FIB-SEM, a focused beam of ions, usually gallium ions, is directed at a sample to sputter material away. The SEM component then uses electrons to image the sample. The ion beam can be used to mill or cut the sample, while the electron beam provides high-resolution images. This combination allows for real-time observation of the material as it is being modified.