system
Given the following post, respond as if you're commenting on Reddit:
human
How do we know how far away the planets are from the sun?

I know that distances can be measured by laser but only if it gets reflected on the object, so that wouldnt work quite well I guess? How do we find out the exact distance between planets and the sun or other astronomical objects without sending a probe that is kept track of? I cant think of any other method to measure such long distances and when I asked my father about it he didnt really know either, he just said that it could maybe be derived by the planets weight and how fast it moves, but how do we know the weight?

(I am sorry for my lack of english skills and hope that this isnt a dumb and silly question)
gpt
Look for "Kepler's Third Law."

Kepler discovered that the square of the period of a planet (the planet's year) is proportional to the cube of its distance from the sun. 

So if we say that Earth is 1 AU from the sun and it has a 1-year year, then we can look at Mars with a year of 1.88 years. That tells us a = (1.88)\^(2/3)= 1.52. So we'd calculate Mars was 1.52 AU from the sun, which is correct.