Light year is the unit of:

Length

Distance

Time

Intensity of light