In order for me animate the suns rotation, I placed a bezier circle in the centre of the Earth. I then added a constraint “follow path”, which then allowed the sun to move around in a circle.
the Material was made up of nodes such as images texture (images sourced from NASA), math, normal and map range etc. This model consisted of three meshes, Surface, atmosphere and Clouds. Image on the right will show my shader for surface mesh.