Answer: Doppler shift indicates only a change in location, not actual distance.
Step-by-step explanation:
Doppler effect occurs for both light and sound. When there is relative motion between two the source and the observer, there is apparent shift in the observed frequency. A red shift in the spectrum of star indicates that it is moving away from us and a blue shift indicates that it is moving towards us. Doppler effect does not indicate the distance. It just tells the changing position of the star.
Parallax method is used to measure the distance of the star. It calculates the change in relative position of a star with respect to its distant background. The angle is measured and this tells the distance to the star.