This very parallax effect. We know how far the Sun is from the Earth, and the Earth has moved twice this distance from January 1 to July 1. This in turn allows us to extrapolate distance to some of the nearest stars by their apparent motion relative to the other, "fixed" stars.