The document discusses the history and workings of different types of engines. It describes how Nicolaus Otto invented the four-stroke engine in 1876. A four-stroke engine completes one cycle over four strokes and two revolutions of the crankshaft. It also describes how a two-stroke engine, invented in 1878 by Clerk, completes a cycle in one revolution due to the use of ports instead of valves.