There is oxygen in the universe or we wouldn't be here. However it is not used by the sun as the sun doesn't burn. The sun produces heat by nuclear reactions deep within its core and by nuclear fusion converts hydrogen into helium.
The sun is not fire in the sense that you would think of it on earth. The fusion reactions in the core produce the energy ( not chemical interactions like fire).