Knock sensor is a piezoelectric accelerometer. The sensor reacts to engine ignition knock and provides information to ECU for timing and fuel correction.