A relation is a set of ordered pairs (a,b)
A function is a relation (a,b) which satisfies the following conditions:
For all a, there is one and only one b
Therefore, all functions are relations.
In structures, we distinguish three kinds of symbols: functions, relations and constants
If all functions are relations, why don't we divide the symbols only into relations and constants?
It is true that every function symbol can be traded for a relation symbol along with some axioms stating that the symbol defines a function etc etc. You can also replace a constant symbol by a relation symbol and the axioms that there exists a unique element satisfying that relation.
But function and constant symbols make it easier to create new terms. And this allows for simplification in some aspects.
Consider the language of groups, with a binary operation $*$ and a constant $1$. If you replace them relations, then the axioms for a group will look like this:
Are these axioms really easier to handle compared to $\forall x\forall y\forall z((x*y)*z=x*(y*z))$? What about when you want to write an axiom stating that "Every element has order of at most $n$", then it will be some horribly long statement $\forall x\exists y_1\ldots\exists y_n(1(y_n)\land *(x,x,y_1)\land *(y_1,x,y_2)\land\ldots\land *(y_{n-1},x,y_n))$. How is this easier than $x*x*\ldots *x=1$, $n$ times?
So terms are useful, and we use functions and constant symbols for terms. This fact can be seem very clearly in set theory. The language only include the binary relations $\in,=$. But we add constants like $\varnothing$ and $\omega$ and so on; and we add functions like $\mathcal P(\bullet)$ for the power sets and $\bigcup\bullet$ for the union, and so on. We do it because it makes our lives so much easier.
But it is true, at the end of the day we can always go back to a relational language. Only that the cost is that we make every statement and proof vastly more complex, and introduce quantifiers everywhere. And this means that we also lose the ability to talk about "quantifier elimination" which is a useful property.