There is ultraviolet energy from the sun causing warmth and light. The warmth produced causes changes in air pressure and winds occur because of it. Infrared energy comes from heat from ultraviolet energy this causes the greenhouse effect, regulating global temperatures.