Lambda sensor, also known as oxygen (O2) sensor, is a sensor located in the exhaust system of internal combustion engines and measures the amount of oxygen in the exhaust gases. This sensor provides the engine control unit (ECU) with the information necessary to set the correct air-fuel mixture. The lambda sensor is found in both gasoline and diesel engines and plays a critical role in reducing emissions and improving fuel efficiency.