doppler spectroscopy
measures the “wobble” of stars caused by their exoplanets (or another star) using the periodic variations in the color of light a star emits
they both orbit around their common center of mass, but because the star is more massive, it will be less noticeable