Rubber seals, including popular types like O-rings, are designed to secure mechanical parts, especially when they are in motion. They sit in a groove, compressing when two or more mechanical components are being fitted together.
Because they are reliable, easy to manufacture and inexpensive, rubber seals are commonly used in machine designs and other applications such as rotating pump shafts and hydraulic cylinder pistons.