Mechanical energy is the sum of potential energy and kinetic energy. It is the energy associated with the motion and position of an object. For example, a moving vehicle possesses mechanical energy in the form of kinetic energy, a compressed spring possesses mechanical energy in the form of potential energy.