A gas sensor for the detection of gases and vapors in air is particularly for the detection of anesthetic gases. A method for the detection and for the monitoring of such gases is also provided including detecting anesthetic gases with the gas sensor.