The air-fuel ratio (AFR) is a critical parameter in internal combustion engines, representing the ratio of air to fuel in the combustion chamber. Achieving the optimal AFR is essential for maximizing engine efficiency, minimizing emissions, and ensuring proper engine performance.