Here is a vehicle speed sensor (VSS) with the speedometer gear on the bottom. The metal bracket in the center is the piece that holds it down. The one pictured is for older vehicles without any electrical connector. Newer vehicles have a 2 pin electrical connector. That is what sends the signal to the PCM. The later model vehicles don't use this at all (98, and above). They get their signal from the sensor on the differential.
Vehicle Speed Sensor Kit.
This kit enables a 4L60E transmission (electronically controlled 700R4) to read vehicle speed in order to calculate when to shift. Use of this kit allows you to retain the mechanical speedometer in your early model car or street rod. This kit is an upgrade from the older sensors.
Here is an ABS speed sensor:
Notice the resemblance between this sensor, and the one in the picture above. Both have no gear on the end.