What does an oxygen sensor do on a Ford Explorer?

The oxygen sensor(s) before the catalytic converter(s) is used to determine the air / fuel ratio of the engine