Generally we use speed of light to measure the distance between two astronomical bodies
Because astronomical bodies are very far from each other
and we use light year as the unit of distance for large distances
1 light year is the distance covered by light in one year
so speed of light is correct option here