The ECM uses O2 sensor data to adjust the air-fuel mixture for optimal combustion efficiency.