It is hydrogen and oxygen, these two gases are mainly used in rockets
The two main types of rocket engines are Solid fuel rocket engines and Liquid fuel rocket engines.
AMMONIA
Liquid hydrogen is a common fuel used in rocket engines.
There are various types/combinations of rocket fuels. The most popular one is Hydrogen which was used by the Space Shuttle. But there are some hydrocarbon fuels as well that are used in rocket engines (for example RP-1 used by the Soyuz rocket). By asking specifically about rocket fuel I assume that you make the distinction between fuel and oxidizer (because a rocket engine generally uses both fuel and oxidizer in contrast with gas turbine engines who takes its oxidizer from atmospheric air). All in all, the answer is not as straight forward as you might expect: certain rocket fuels (see RP-1 like fuels) are very similar to jet fuel so they can be used as fuels in gas turbine engines. Other fuels like hydrogen or hydrazine can't be used in current gas turbine engines. But it is not impossible to have in the future gas turbine engines that uses hydrogen or some other fuels used in rocket engines.
A rocket's fuel is typically located in large tanks situated within the rocket's body. The fuel is stored separately from the rocket's engines and is used as propellant for thrust during launch and flight.
A single stage rocket consists of only a single set of rocket engines and fuel containers. This assembly is used for the entire journey. A multistage rocket consists of several sets of engines and fuel containers that are used in succession. When the fuel of one stage is spent it detaches from the rocket to get rid of the weight and the next set of engines is ignited. Multistage rockets are far more efficient at getting things into space.
gasoline along with liquid oxygen, so the fuel can burn
it bad
The space shuttle main engines (SSME) RS 24 engines use rocketdyne liquid hydrogen and liquid oxygen fuel in the engine that is designed in such a way that the engines are reusable.
Less complexity and cost compared to liquid fuel and it's complex, expensive engines
There are several types of rocket motors, including solid rocket motors, liquid rocket engines, and hybrid rocket engines. Solid rocket motors use a solid propellant that burns uniformly, providing thrust until the fuel is consumed. Liquid rocket engines utilize liquid fuel and oxidizer, allowing for adjustable thrust and the ability to shut down and restart. Hybrid rocket engines combine aspects of both, using a solid fuel and a liquid oxidizer, offering some advantages in performance and safety.
Cars have Internal Combustion Engines. You cannot use rocket fuel in this type engine.At this point there is only one car that can run on rocket fuel. NASA has an experimental BMW sedan that can run on liquid hydrogen, better known as the rocket fuel used in the space shuttles...