A light year is the distance light can travel in vacuum in one year's time. This distance is equivalent to…