Is the sun is the ultimate source for energy on the Earth?

Is the sun is the ultimate source for energy on the Earth?