What is the meaning of Subroutine?

A section of code, called by the main body of a program, that implements a task.

subroutine

Source: wiktionary.org