The short answer

Gasoline supplies fuel. The oxygen in air allows it to burn. Burning creates hot gas that expands and pushes the pistons.

Meet the four-stroke cycle

A stroke is one trip of the piston up or down its cylinder. Most car gasoline engines repeat four strokes. First, the intake stroke brings air into the cylinder. Next, compression squeezes the contents into a smaller space. A spark then starts combustion near the end of compression, and expanding gas pushes the piston down on the power stroke. Finally, the exhaust stroke pushes spent gas out.

Valves open and close the passages for intake air and exhaust gas. The crankshaft keeps turning as the pistons repeat this sequence. Several cylinders share the work in a typical car engine.

Sources: U.S. Department of Energy ↗

Why an engine needs fuel and air — simplified labeled mechanism diagram.
Original diagram · simplified, not to scale. About our diagrams

Why the mixture matters

The engine must meter fuel to match the air available. Modern gasoline engines use fuel injectors to deliver controlled amounts. Some inject into the passage before the cylinder. Direct-injection engines inject into the cylinder itself. The exact timing and mixture depend on the engine and operating conditions.

Diesel engines also need air and fuel, but they normally ignite injected fuel using the heat of highly compressed air. They do not use a spark plug to start each normal combustion event.

Sources: U.S. Department of Energy ↗ · U.S. Department of Energy / U.S. Environmental Protection Agency ↗ · U.S. Department of Energy ↗

What this means when buying

Ask which fuel grade the manufacturer requires for the exact engine. Use the owner’s manual rather than a seller’s guess. A premium-fuel requirement can change running costs. A higher grade does not automatically make every engine perform better.

Listen for uneven running and note warning lights. Many faults can create similar symptoms. Ask a qualified inspector to investigate rather than assuming the car only needs a new filter or spark plug.

Common misunderstandings

A gasoline engine does not run on fuel alone. It also needs a controlled supply of air. A turbocharger changes how much air can enter; it does not replace the fuel.

This four-stroke explanation describes the operating principle. Fuel injection, valve control, and combustion strategies vary by model and year.

Sources: U.S. Department of Energy / U.S. Environmental Protection Agency ↗ · U.S. Department of Energy ↗

WORDS YOU NOW KNOW

Sources & review

Reviewed . Original educational explanation, checked against the sources below. This is general guidance; consult the documents for the exact vehicle, year, configuration, and market.

  1. Internal Combustion Engine BasicsU.S. Department of Energy · How Does an Internal Combustion Engine Work? · Accessed 2026-10-22.
  2. How Do Gasoline Cars Work?U.S. Department of Energy · Alternative Fuels Data Center · Introduction and Key Components of a Gasoline Car · Accessed 2026-10-22.
  3. Advanced Engine TechnologiesU.S. Department of Energy / U.S. Environmental Protection Agency · FuelEconomy.gov · Turbocharging with Engine Downsizing; Gasoline Direct Injection · Accessed 2026-10-22.
  4. How Do Diesel Vehicles Work?U.S. Department of Energy · Alternative Fuels Data Center · Introduction and Key Components of a Light-Duty Diesel Vehicle · Accessed 2026-10-22.
Editorial policy & corrections →