Just as in JavaScript these are chunks of code which are placed (normally) at the top of a program or script and are then "called" from further down in the program.