First-order logic is a formal logical system used in mathematics, philosophy, linguistics, and computer science.
Link to wolfram:
The set of terms of first-order logic (also known as first-order predicate calculus) is defined by the following rules:
A variable is a term.
If f is an n-place function symbol (with n>=0) and t_1, ..., t_n are terms, then f(t_1,...,t_n) is a term.