Let's review. Heptane is a straight-chained hydrocarbon used primarily as a standard of measure for gasoline octane ratings, as a solvent, and as a component in gasoline. It is a highly flammable, colorless liquid with a gasoline-like smell.