 The most common application of recursion is in mathematics and computer science, where a function being defined is applied within its own definition.While this apparently defines an infinite number of instances (function values), it is often done in such a way that no infinite loop or infinite chain of references can occur.In mathematics and computer science, a class of objects or methods exhibits recursive behavior when it can be defined by two properties