Wikipedia says:
For example, when a ball is held above the ground and then dropped, the work done on the ball as it falls is equal to the weight of the ball (a force) multiplied by the distance to the ground (a displacement). When the force F  is constant and the angle between the force and the displacement s  is θ, then the work done is given by W = Fs cos θ.
From what I have learned work is only done when a force displaced something against another force. (For example if you lift something you lift it opposite to gravity). But Wikipedia doesn’t agree. What is it that I have not understood correctly?