There are various types of built-in functions including but not limited to system functions, string, text, and image functions, aggregate functions, and mathematical and date functions. The rules governing how you use these function types can differ.
See the Reference Manual:Building Blocks and, for XML functions, XML Services.