The invention relates to a device and to a method for analysing a substance (5), comprising an excitation transmitting means in the form of a laser means (3) for generating at least one electromagnetic excitation beam (8), a measuring element (1) having a detection area (4), which is adjacent to a measurement area (2) of the measuring element (1) and which has a pressure- or temperature-dependent specific electric resistance and/or generates electric, in particular piezoelectric, voltage signals in the event of pressure or temperature changes, and having a means for analysing the substance by using detected signals.