The second form in each case is a gerund, whereas the first form is a verbal noun.
The gerund generally has the normal functions of a verb (e.g. it can be qualified by an adverb, and can take an object, if transitive), whereas the verbal noun tends to have the functions only of a noun (e.g. it can only be qualified by an adjective).
Student or Learner