How does the earth gets it light?

The sun is a big ball of fire that emits photons that travel toward the earth at the speed of light.