Recursion occurs when a function calls itself within its own code block. Recursive functions can be a conceptually difficult idea to understand, so don't be put off if you're confused the first time round.