The main difference is in the way that fuel is injected into a combustion chamber. A diesel engine uses a high-pressure fuel injection system, and a gasoline engine uses a low-pressure injection system.