A Retaining ring is a piece of hardware that holds on to a shaft in order to locate other items on the shaft, or to locate the shaft to a fixed item.There are external retaining rings, which go on the outside of the shaft and internal retaining rings, which go on the inside of the shaft.