When you do work to lift an object what form of energy does the object gain

It gains potential energy.