I.C engines are heat engines where combustion of fuel occurs inside the engine. There are two main types - spark ignition engines which use a spark plug to ignite an air-fuel mixture, and compression ignition engines where high compression ignites the fuel, such as diesel engines. The basic components of an I.C. engine include the cylinder, piston, combustion chamber, valves, and crankshaft which converts reciprocating motion to rotational motion. Spark ignition engines have a lower compression ratio compared to compression ignition engines and use petrol as fuel.