https://www.youtube.com/watch?v=0jWwl0bt6aU&list=PLUl4u3cNGP61qDex7XslwNJ-xxxEFzMNV&index=128

In this class Professor talks about work done by frictional force. He talks about motion of the object as well. I know frictional force is force opposes the motion. In the free body diagram, he doesn't specify any force which create this motion. I know friction never create any motion. Then what is the point talking about work done by frictional force?I am learning classical mechanics with the help of these lecture videos. I am confused with this notion. May I get help?