Its probably an IR laser
In chemistry we use IR spectroscopy to learn more about unknown substances. UV-Visable Spectroscopy does exist but it does not give as much info as IR specs.
EDIT:
"An invisible beam from the laser set off a flash on a rock across the room. The flash was ionized gas, or plasma, generated by the energy from the laser exciting atoms in the rock. A spectrometer pointed at the glowing plasma recorded the intensity of light at different wavelengths for determining the rock's atomic ingredients."
Yeah this sounds almost exactly like IR spectroscopy