When the oxygen sensor detects that there is too much oxygen in the exhaust gases, it sends a signal to the ECU to increase the amount of fuel being injected into the engine. This causes the air-fuel mixture to become richer, which results in a decrease in the amount of oxygen in the exhaust gases.
Conversely, when the oxygen sensor detects that there is too little oxygen in the exhaust gases, it sends a signal to the ECU to decrease the amount of fuel being injected into the engine. This causes the air-fuel mixture to become leaner, which results in an increase in the amount of oxygen in the exhaust gases.
The oxygen sensor is a critical component of the engine control system, and it helps to ensure that the engine runs at the optimum air-fuel ratio. This results in improved fuel economy, reduced emissions, and better engine performance.