An object that is raised has energy stored in its gravitational potential energy store. This energy store depends on the object, mass, height and strength of the gravitational field.
The Gravitational Potential Energy can be worked out using this equation: