Functions allow us to execute blocks of code multiple times. Built-in functions are provided by PHP and user-defined functions can be created by developers.