A speed sensor is used to measure speed.
If there is no speed sensor equipped, the speed will be measured by satellite signals.
It’s better to equip a speed sensor, when riding at places where GPS signal is not available, like in tunnels, mountainous areas or indoors, or near buildings.
To measure accurate speed, you need to set the correct wheel size.
Read articles to set the wheel size