Total mechanical energy is the sum of the kinetic and potential energy of a body or system of bodies:
$$E_m=E_k + U = const$$
where,
Em— total mechanical energy;
Ek— kinetic energy;
U— potential energy.
It is the sum of kinetic energy and potential energy in a system.
It is constant when non-conservative forces are neglected.
It helps track energy exchange between motion and position in physics problems.