heres a nifty link for those people who don't know how the diesel engine works.

http://www.howstuffworks.com/diesel.htm

heres another link for the gasoline engine.

http://www.howstuffworks.com/engine.htm