I admit, I messed up.
Here is the definition of diesel:
A gasoline engine intakes a mixture of gas and air, compresses it and ignites the mixture with a spark. A diesel engine takes in just air, compresses it and then injects fuel into the compressed air. The heat of the compressed air lights the fuel spontaneously.
A gasoline engine compresses at a ratio of 8:1 to 12:1, while a diesel engine compresses at a ratio of 14:1 to as high as 25:1. The higher compression ratio of the diesel engine leads to better efficiency.
heres the web sight:
http://auto.howstuffworks.com/diesel1.htm