Gasoline and diesel fuel are both used to power automobiles and machinery. They are both the product of crude oil, but they are different because they are not able to power engines in the same way.
Gasoline oil works by being vaporized as soon as it is in the fuel tank. It is sparked by the ignition and begins to work its way through the engine. Gasoline is lighter and less dense than diesel fuel. It does not take gasoline a very long time to make its way through the engine in order to power it which results in more fuel being used and a quicker start time. Gasoline vehicles get lower gas mileage than vehicles that are powered through the use of a diesel engine.
Diesel is a thicker fuel than gasoline. The way the steps go for fuel is gasoline, jet fuel and diesel. Petroleum, which is used for manufacturing and ship fuel, is below gasoline on the scale of viscosity and density. When diesel fuel is put into a fuel tank, it does not immediately turn into a vapor. It must be pushed through a high pressure tank and sent through the engine. It does not need to be ignited in the same way as gasoline and will take a slower time running through the engine. For this reason, diesel engines get better gas mileage but they are harder to start up, especially in cold weather.