Work done by gravitational force is equal to the change in magnitude of potential energy of the body.
The work-energy theorem states that the work done by a force on a body is equal to the change in kinetic energy of the body.