Mechanical energy as the ability to do work
An object that possesses mechanical energy is able to do work. In fact, mechanical energy is often defined as the ability to do work. Any object that possesses mechanical energy - whether it is in the form of potential energy or kinetic energy - is able to do work. That is, its mechanical energy enables that object to apply a force to another object in order to cause it to be displaced.
Numerous examples can be given of how an object with mechanical energy can harness that energy in order to apply a force to cause another object to be displaced. A classic example involves the massive wrecking ball of a demolition machine. The wrecking ball is a massive object that is swung backwards to a high position and allowed to swing forward into building structure or other object in order to demolish it. Upon hitting the structure, the wrecking ball applies a force to it in order to cause the wall of the structure to be displaced. The diagram below depicts the process by which the mechanical energy of a wrecking ball can be used to do work.