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.