Eh, guess I read your post wrong. I thought you were saying it measures the oxygen content in the air going into the engine, and the computer compares this to the oxygen content in the exhaust to adjust the mixture.
But you are right - don't disconnect these sensors. If the car isn't running right, then find out why - disconnecting the sensors as a "fix" is not a fix.