The work done by the external forces on a system equals the change in

The work done by all the forces acting on the system (both internal and external forces) contributes to the change in total energy.

1