How does the earth get light from the sun?

the same way you get light from light. sun emits light so the light travels to the earth.