Is Wizard of Oz science fiction?

No. The Wizard of Oz would be classified as Fantasy not as Science Fiction.