Rotary lip seals function on the principle of pressure differential. As the shaft rotates, the sealing lip exerts a force against the surface, creating a tight seal that prevents the escape of fluids. This is achieved through the elastic deformation of the lip material, which conforms to the shaft's surface. As a result, the seal maintains contact even as the shaft moves, effectively mitigating the risk of leakage.