It means the distance between the star and the Earth is equal to the distance travelled by light in eight years.