what type of energy warms earths surface?

A. Solar energy

B. Gravitational energy

C. Nuclear energy

D. Thermal energy