Why is oxygen an imporant variable gas?

What is the ultimate source of energy that creates Earth's weather? I said solar radiation and heat from the sun, is that correct?