The octane rating of petrol reflects its resistance to engine knocking or pinging, which can occur when the fuel and air mixture ignites prematurely in the engine. Higher octane petrol can provide improved engine performance and efficiency in certain high-performance vehicles.