CPM also called continuous passive motion, is a device that is used to gently flex and extend the knee joint. The CPM machine can be used after surgery to allow the knee joint to slowly bend. The initial thought was that CPM would improve motion following knee replacement surgery, as well as other knee procedures, and eliminate the problem of stiffness.
Source: Verywell Health