What will happen to the oxygen on earth if the sun dies?

is our oxygen supply impacted? will we all die from suffocation first or from freezing due to no more heat from the sun?
12 answers 12