The Light Year Misconception
Contrary to popular belief, a light-year is not a measure of time, but rather a measure of distance.
The term 'light-year' comes from the concept of how far light can travel in one year.
Because light moves at a speed of 186,000 miles per second, it can cover a tremendous distance in just one year growing to about six trillion miles! Therefore, when we say something is 'millions of light years away', we are referring to the distance light could travel over millions of years, not the time it takes for light to get there.
For instance, our closest galactic neighbor, the Andromeda galaxy, is approximately 2.5 million light-years away.
This means that the light we see from Andromeda today actually started its journey 2.5 million years ago! So, observing light in space allows us a glimpse into the universe’s past..