A light year is defined as the distance travelled by light in one year. It is hence a measure of distance. It is often used as a unit because of the large distances between celestial bodies (like stars). 1ly=9.46×1012km Example: Distance between Sun and Alpha Centauri is about 4.3 ly.