Lighting for Sun

My project is simulating the solar system. I’ve drawn the Sun, the Earth and created a source light so that they have 3D look. But I want to make the Sun as the source light so that it will light the Earth when the Earth go around it and make different light effect on the Earth. How can I do that?

have u use the light position where u adjust according to your sun position.?
I think its work.