If I said. I like swimming. I could of meant, I like to watch people swimming, I like to swim, I like the idea of swimming.
If I said. I like to swim, it would mean that I enjoy the activity, swimming.
I'm not a teacher, and that's just a wild guess, if anyone would like to clarify.
Student or Learner