gasoline , or petrol , is a toxic, clear liquid that is mostly used as a fuel in internal combustion engines. it is made by boiling petroleum, a fossil fuel. in a distillation process, petroleum is heated to a very high temperature, then it separates into its components, one of them is gasoline. this is an expensive process. it is made mostly of octane (c8h18), a hydrocarbon.