Most diesel engine pistons have several rings, usually 2 to 5, with each ring performing a distinct function. The top ring (s) acts primarily as the pressure seal. The intermediate ring (s) acts as a wiper ring to remove and control the amount of oil film on the cylinder walls.