Here's a great primer on what goes into the price at the pump form the American Petroleum Institute.

What’s up with Gas Prices

Gasoline Taxes: you probably don’t realize how much of the price you pay for Gas goes to taxes.

Gas Tax Summary