The mechanical energy of an object consists of kinetic energy and potential energy. The difference between these two types of energy is that the first corresponds to moving objects, while the second refers to the energy stored in an object at rest.