What is the sensor on a 305 Chevy motor right next to the starter?

it is a knock sensor that is used to adjust the ignition timing.