without a diagram it is a bit tricky to describe.
The oil seals seal to the outside of the output shaft that are roll pinned onto the shaft. as these output shafts are only held on by the roll pins there is a route for the gearbox oil to seep along the splines. The o-ring seals this part of the shaft to stop this happening
hope this helps