Push a 20 kg cart from rest with a steady 60 N over 5 m of smooth floor. You do 60×5=300 J of work on it, and that is exactly the kinetic energy it ends with: 21×20×v2=300 gives v2=30, so v≈5.5 m/s. Now add a 20 N friction force. Friction does −20×5=−100 J, the net work is 200 J, and the cart ends with 200 J of kinetic energy, so v2=20 and v≈4.5 m/s.
That is the whole theorem: Wnet=ΔKE. Every force on the object contributes its own work: positive if it acts along the motion, negative if against it, zero if at right angles. The sum of those works is the change in kinetic energy. It follows from Newton's second law, since net force times distance equals 21mvf2−21mvi2 for a constant net force, and the result holds when the force varies too.
The theorem speaks only about kinetic energy. It does not track potential or thermal energy separately. If gravity acts, count it either as a force doing work (−mgΔh when the object rises) or as a change in potential energy, but not both, or you will count it twice. When a problem asks about the total energy of a system, heat included, use conservation of energy instead.
Think of it like this. Picture the forces as players in a tug-of-war over the object's kinetic energy. Forces pulling along the motion add energy, forces pulling against it take energy away, and forces pulling sideways do nothing. The change in kinetic energy is the final result of all the pulls combined, each weighted by the distance it acts over.
Core idea. The sum of the work done by all forces on an object equals its change in kinetic energy, Wnet=21mvf2−21mvi2: forces along the motion speed it up and forces against it slow it down.