<p>A sensor (2) for sensing a first substance and a second substance, the sensor comprising first (3) and second (5) sensor components each comprising a first material (20), the first material being sensitive to both the first substance and the second substance, the sensor further comprising a barrier (18) for preventing the second substance from passing into the second sensor component (5).</p>