When do we say that work is done?

We say that work is done when two conditions are met: A force is applied on an object, and The object undergoes displacement in the direction of the applied force.