a steam engine is another type of piston engine. in most steam engines, the pistons are "double acting": steam is alternately admitted to either end of the cylinder, so that every piston stroke produces power.