Cognizant Interview Question

what is recursion and write a code for the same?