The purpose of a return spring is to keep the piston in place and prevent it from moving too far up or down the cylinder. Most engines have at least one return spring, but some may have more depending on their design. The number and type of springs can vary, but they all serve the same purpose.