This image illustrates the principals of a technique called "laser-induced breakdown spectroscopy," which the Chemistry and Camera (ChemCam) instrument will use on Mars.
+
Credit: NASA/JPL-Caltech