Chapter:

Principle-of-Virtual-Work

The net forces of acting on body need to be zero. This is also applicable for bodies having some potential energy. This means that work done over it is saved in form of potential energy.