by the property of reflection or electromagnetic waves
Usually such distances are measured either in light-years, or in parsecs.
Light years
parsecs or light years
Stellar distances, like the distances of stars and galaxies from Earth
because the stars are very far away so the astronomers use light years
That is one of the things scientists use to help them measure a stars distance but it isn't just based on the color.
Distances between stars and Earth are measured using a method called parallax. This involves observing the apparent shift in position of a star when viewed from different points in Earth's orbit around the Sun. By measuring this shift, astronomers can calculate the distance to the star.
preallax
Distances to stars are mainly measured in PC (Parsecs). Light years are also used because the distances covered are so great. For example. Proxima Centauri our nearest neighbourhood star is: Light years: 4.23 Parsecs(PC): 1.3009. If we used miles then the distance would be: 24,866,054,200,000 or kilometers 40,018,035,200,000 Which one is the easiest to remember and that is your answer
because the stars are very far away so the astronomers use light years
they are measured in AU
The distances are measured from the tip of home plate to the bottom of the fence.