Engine knock, also known as detonation, occurs when the air-fuel mixture in an internal combustion engine ignites prematurely, causing a knocking or pinging sound. This can lead to engine damage over time and is often mitigated by using higher-octane fuel or adjusting the engine's timing.