It works by using a laser to create plasma on rock samples. It then collects the light, where it is able to determine the elemental composition within. "The Gale lake environment, as revealed by ...