For what can we use the doppler effect to deduce in astronomy

A. the shape of orbital path of an object
B. whether the object is traveling toward or away from us
C. the Chemical composition of the objects
D. the type of spectrum the object emits​