So friction as a nonconservative force, is path dependent when it comes to how much work is lost from a system right? What confuses me however is understanding what that means, in terms of energy. So the work done by friction includes the energy that was neeeded to stop an obect (like a braking car) PLUS the heat released during the transition right? Its weird because it means we assume that the friction force times the distance takes into account heat as well. I thought heat didnt count.