Work is done when a force is applied to an object and the object moves in the direction of the force. The amount of work done is equal to the product of the force and the distance the object moves in the direction of the force.
In this case, a force is exerted on an object and the object moves, so work is done on the object.