Electron microscopes can view things in much more detail than light-based microscopes. To do this they use a beam of high-energy electrons to scan the surface of the specimen placed under the microscope. When the electrons hit the specimen, they are reflected and directed towards a detector, creating an image of the sample.
Because the electrons’ wavelengths are much shorter than that of light, the image is much more detailed and can show small specimens such as bacteria or the minute details of metals and crystals.