They are predefined by programming languages and each serves a specific purpose. While some built-in functions cannot be customized, some can be customized as per the programming guidelines laid down by a specific programming languages. The Python language also comes with a set of built-in functions such as len() and cmp(). You can get details about built-in functions from the Python documentation.
The Python documentation can be found at https://docs.python.org.