$$2C_8H_{18} + 25O_2 \rightarrow 16CO_2 + 18H_2O + heat + energy$$
In this equation, $C_8H_{18}$ represents gasoline, $O_2$ represents oxygen, $CO_2$ represents carbon dioxide, and $H_2O$ represents water. When gasoline burns, it reacts with oxygen to produce carbon dioxide, water, heat, and energy.