Registration of structure-borne vibrations (knocking).
Knocking combustion can damage the engine.
The data from the knock sensor enables counter-measures to be undertaken.