The upstream 02 measures emissions before the cat as a reference point to compare to the downstream 02 after the cat. This is how the computer knows to lean out or richen the mixture.