Redshift and blueshift are used by astronomers to work out how far an object is from Earth. When you purchase through links on our site, we may earn an affiliate commission. Here’s how it works.