Stars emit light that travels through empty space without significant attenuation. The visual signal is essentially lossless until detected. After many years and billions of kilometers, starlight-photons may eventually encounter the earth's atmosphere and be decoded as a speck in the night sky by some lucky person's retina and brain.
Source:
phys.org