How does a Car engine work?

Nowadays everyone loves to travel. But to travel you cant always walk around, you need a vehicle to roam around. The vehicle is moved by a thing that we call An Engine.  An automobile engine is a device that converts chemical energy in mechanical energy. Before going forward you need to know the classification of the engine.