Knock Sensor: Description
WARNING: This page is about a different car, the 2006 Dodge Grand Caravan, 2006 Dodge Caravan, and 2006 Chrysler Town & Country. However, it is still accessible from the selected car via links, so may be relevant.
The knock sensor is attached to the cylinder block. The knock sensor is designed to detect engine vibration that is caused by detonation.