The reason why we could know planets are moving away from us or coming to us,is because according to the Doppler effect the object will occur blue shift or red shift.Can someone tell me more about Doppler effect in optics?  ex.what is the red or blue light related to?