Kind of a weird question but where does the $\in$ symbol come from exactly and where do we imbue this symbol with any kind of meaning?
As far as I can tell it isn't a symbol that is part of the alphabet when it comes to propositional logic or first order logic. It just sort of pops out of nowhere when you get to something like the axioms of ZFC or set theory where we start saying things like $a \in S$ without really discussing what this symbol means or how you use it appropriately.
We all know it means "element of" but is there a more formal basis for its definition? Is there some kind of rule or axiom that shows how this syntax is meant to be used somewhere? I am coming at this from the perspective of syntax and semantics if that helps. Please note I am not asking about the history of the symbol $\in$.
For example let's say I start throwing around $a★b$ or $a★S$ in my syntax, you'd go, whoa, wait a second, I don't know what that symbol means or what we're allowed to do with it or how we're supposed to use it. Where would I "point you" to show these things?
It was originally the Greek lower case epsilon ($\epsilon$). If you read really old math papers/books you will still see a lower case epsilon used instead of the stylized $\in$ symbol.
According to this page, the notation was invented by Peano from the first letter of the Greek word "είναι" meaning "is."
As for the definition of $\in$, it is defined by the axioms of ZFC. The axioms themselves tell you what it means and how to use it properly.