How does the sun give light to different parts of the Earth at the same time?

The sun is 92 million to 94 million miles away depending on the time of year, which is far enough away that it can illuminate the entire half of Earth facing it, just as shining a light on a ball lights up half of it.