Let’s come and go deeper ;)
Recursion occurs when a thing is defined in terms of itself or of its type. In computer science is very famous to solve a problem calling itself several times until a stop condition.
So before study an example, let’s review some concepts:
What is a recursion?