What is a Knock Sensor?

A knock sensor is inside of the engine where the pistons knock in and out of the engine, to create the combustion. The sensor makes sure the knock occurs and the drive shaft is working correctly. Look here for more information: auto.howstuffworks.com