There are different gasoline grades based on octane. Here's how to tell which grade of fuel your car needs and why.