During WWI, it was discovered that you can add a chemical called tetraethyl lead to gasoline and significantly improve its octane rating. Cheaper grades of gasoline could be made usable by adding this chemical. This led to the widespread use of "ethyl" or "leaded" gasoline. Unfortunately, the side effects of adding lead to gasoline are:
When lead was banned, gasoline got more expensive because refineries could not boost the octane ratings of cheaper grades any more. Airplanes are still allowed to use leaded gasoline, and octane ratings of 115 are commonly used in super-high-performance piston airplane engines (jet engines burn kerosene, by the way).
Another common additive is MTBE. MTBE is the acronym for methyl tertiary butyl ether, a fairly simple molecule that is created from methanol.
MTBE gets added to gasoline for two reasons:
MTBE started getting added to gasoline in a big way after the Clean Air Act of 1990 went into effect. Gasoline can contain as much as 10 percent to 15 percent MTBE.
The main problem with MTBE is that it is thought to be carcinogenic and it mixes easily with water. If gasoline containing MTBE leaks from an underground tank at a gas station, it can get into groundwater and contaminate wells. Of course, MTBE isn't the only thing getting into the groundwater when a tank leaks -- so is gasoline and a host of other gasoline additives.
According to this page at the EPA: