Pregunta de entrevista de Cognizant

what is recursion and write a code for the same?