An oxygen sensor (or lambda sensor, where lambda refers to air–fuel equivalence ratio, usually denoted by λ) is an electronic device that measures the proportion of oxygen (O2) in the gas or liquid being analysed.
The most common application is to measure the exhaust-gas concentration of oxygen for internal combustion engines in automobiles and other vehicles in order to calculate and, if required, dynamically adjust the air-fuel ratio so that catalytic converters can work optimally, and also determine whether the converter is performing properly or not.