The O2 sensor is located in the exhaust manifold and informs ECM of amount of oxygen in exhaust gases.