Recursion is a method by which a problem gets solved through iteration.

In other words, a recursive function is a function that repetitively invokes itself infinitely (or until something stops it).

Learn more about how recursion works at CodeSweetly.