👉 In computer science, a recursive function is one that calls itself in its definition. This means that if you define a function recursively (meaning it calls itself) and then call this recursive function again with different arguments, each time calling itself, the recursion will continue until an unreachable base case or end condition is met.
For example, consider the following Python code:
```
def factorial(n):
if n == 0:
return 1
else:
return n
factorial(n-