In programming terms, a recursive function can be defined as a routine that calls itself directly or indirectly.