The definition goes,
Let $S$ be a non-empty set. Then a function $f : S \times S \to S$ is a binary operator.
If I understand correctly, then it means $(a,b) \in S \times S \Rightarrow f(a,b)=a\text{*}b \in S$ then $\text{*}$ is a binary operator. Alright fine. But that doesn't explain that why is $f$ a binary operator?
Let me explain my doubt more clearly, I'm having trouble with notations here,
If $f(a,b) = a \text{*} b$ where $\text{*}$ is a binary operator. And if I say that $f$ is the same binary operator as well, then $f= \text{*}$. So I can write $f(a,b)= afb$ which seems to be absurd because $b$ is not the image of $a$ under $f$. The correct expression (according to me) should be $(a,b)f(a\text{*}b)$
So, $f$ can't be $\text{*}$. I don't understand how can a relation (function in this case) be equal to a binary operator
EDIT: What I'm trying to say is,
If $R$ is a relation, then if $b$ is the image of $a$ under $R$, then we write it as, $aRb$
By the definition in my textbook, $ * : S \times S \to S $ where $*$ is a binary operator $\Rightarrow$ function $\Rightarrow$ Relation.
Then $* (a,b) = a *b $ but this would be read as $b$ is image of $a$ under $*$. This notation seems to be used widely but somehow this doesn't feel correct.