Oxygen sensor in a car, also known as an O2 sensor, monitors the amount of oxygen in the exhaust gases and sends this information to the engine's computer (ECU). This allows the ECU to adjust the air-fuel mixture for optimal combustion and emissions control. Essentially, it ensures the engine runs efficiently and minimizes harmful pollutants.