How does the scanner show that different materials have different chemical compositions?

A scanner can show that different materials have different chemical compositions through the process of spectroscopy. Spectroscopy is a technique that involves using a scanner to analyze the interaction between electromagnetic radiation and matter.

When a material is scanned using spectroscopy, the scanner emits electromagnetic radiation onto the material. The material then absorbs, scatters, or emits radiation in response. The scanner measures the resulting signals to determine the material's chemical composition.

Different materials have different chemical compositions, which means they will interact with electromagnetic radiation in unique ways. By analyzing the signals generated during spectroscopy, the scanner can identify the specific elements and compounds present in a material. This allows the scanner to differentiate between materials with different chemical compositions.