In scanning electron microscopy a sample is scanned with a nanoscopic electron beam. The interaction of matter with the electrons will cause  emission of several different signals, each providing a specific type of information. Low energy secondary electrons primarily show a topographic contrast, while more energetic backscattered electrons result in a contrast based on the local mass density. In addition to emitted electrons also element specific X-rays are generated providing information on the local elemental composition.