A light-year, alternatively spelled light year (ly or lyr), is a unit of length used to express astronomical distances and is equal to exactly 9460730472580.8 km, which is approximately 5.88 trillion mi. As defined by the International Astronomical Union (IAU), a light-year is the distance that light travels in vacuum in one Julian year (365.25 days). Despite its inclusion of the word "year", the term should not be misinterpreted as a unit of time.
https://en.wikipedia.org/wiki/Light-year