X1 Square O-Rings are used to block a path which may otherwise allow a liquid or a gas to escape..The o ring is placed into a groove to secure them in place, and then compressed between two surfaces.
The most common examples are securing a pulley or gear to a shaft. A set screw is a type of screw generally used to secure an object within or against another object, normally not using a nut.