Measurement of the Doppler shift in the star's spectrum can help us determine the mass and composition of the exoplanet.