To put that simply, higher octane gas resists detonation, so it burns rather than exploding. But raising the octane level of gasoline is expensive; that's why premium fuel costs more than regular. Adding ethanol reduces the tendency of low-grade gasoline to detonate, enabling our national fleet to run on crappier gas.