Gasoline is actually a liquid fuel.
The gasoline that you pump into your car or vehicles gas tank fills the gas tank with liquid fuel.
Then when the fuel pump sucks that gasoline up from the tank and sends it through the fuel injectors it gets burned off and it's the gas vapor of the gasoline that actually causes the explosion in the cylinders that make your vehicle go.
As your engine is running the spark from the spark plugs ignite the gasoline and create explosions which pushes the cylinders.
So gasoline is liquid but it's burned off as a gas or vapor in the engine.