Simply put - There is a sensor on the fuel rail that will determine the octane level and the timing / tune will adjust accordingly. The car will generally be expecting 91, 93 or e85…but will accept things between from what it sounds like.
Other tuners, like Satera in IL (also on this board as a sponsor), use a similar product.