Oil reduces friction. The less friction there is, the less force it takes to move an object. The angle of the ramp and the weight of the object will also affect how the object moves.