If you switch on a lightbulb in a room its light has a visible range. So how about Sunlight? Does it light more on Mercury and less on Pluto? And what about planets that are not in the Solar System?
Light is electromagnetic energy conveyed by photons. Photons travel in straight lines at approximately 300,000,000 m/s. They do not lose any energy as they travel, so can travel indefinitely, only giving up their energy upon interacting with something. If such an interaction occurs, the photon is absorbed, and a new photon may be emitted by that something, depending on the circumstances of the interaction. Key point here is: barring something to get in the way, light travels indefinitely and without loss until it hits something.
A point source (more of an abstraction than a reality) radiates a given amount of power (energy per unit time) equally in all directions. At some distance from the point source (we can think of a spherical shell around it), that power will be evenly distributed over the area of that shell - so we have power per unit area. If you double the distance (the radius of the shell), the area goes up 4 times (math/geometry) so the power per unit area is only one quarter (referred to as the "inverse square" law). Note that we are not talking about a loss of energy with distance, only a "thinning out" because it is distributed over an increasing surface. Note also, that the power per unit area never actually gets to zero, but vanishingly approaches it with extreme distance.
The Sun is a huge ball of white hot gas. If you are really close to it, it doesn't look like a point source; it looks like a big wall of light. But, it does have a finite size - about a million miles across. If you get far enough away, say a hundred million miles (about how far away we are from it), it starts to look like a point source, so the further away you get, the more thinly the sunlight is spread, so the dimmer it seems. Because the light can potentially travel an infinite distance, there is no "range". There will come a point where it is no longer of significance, but that point is subjective.
So, because of the inverse square law, there is more light per unit area falling on Mercury than on Pluto, and much less on objects outside our solar system. If you are far enough away, it will be too little to measure with any practical instrument, but it will never be zero.
The light bulb in your room actually has no "range"; its light can continue forever too. We only perceive a limited range because of the limits of our perception relative to the amount of light being given off.