Diesel engines are similar to spark ignition engines in construction, as both have pistons, with piston rings, which move up and down in the engine cylinders.
The primary ignition difference is that diesel engines use compression ignition to burn the fuel and no spark is required for this. Air is compressed in the cylinder making it really hot. Fuel that is injected into the combustion chamber reacts with this hot air causing it to ignite and burn. In a petrol engine, a spark (originating from the spark plug) causes an mini explosion that results in an exponential air/fuel reaction creating the primary force that many drivers have become all too familiar with.
Both types of engines burn fuel in the combustion chambers located in the upper parts of the cylinders. The high pressure produced by the burning fuel pushes the pistons down causing the crankshaft to rotate. The rotary motion is transmitted through shaft and gears and eventually to the drive wheels.