For a 2013 Hyundai Sonata, the upstream oxygen (O2) sensor (also known as Sensor 1 or the Air/Fuel Ratio sensor) is located in the exhaust manifold before the catalytic converter. Its primary role is to monitor the air-fuel ratio as exhaust leaves the engine, allowing the car's computer to adjust fuel injection for optimal efficiency