What is the source of the electromagnetic energy that comes to Earth?

A. ultraviolet waves
B. gamma rays
C. the sun
D. the moon

C. the sun