Differences between "Equal" and "SameQ"
There are different ways of comparing two elements or more, the first one is less strict: using Equal (==); the second one, is more strict: using SameQ (===).
Let's take a look at the documentation page for Equal:

And now, the documentation page for SameQ...

This alone doesn't tell much, but how exactly these two operators (== and ===) are different? The difference lies in their individual strictness.
If you want to compare numbers AND their types, use SameQ, if you want less strict comparisons, use Equal.

Sometimes, Equal outputs a symbolic equation, and that can be bad sometimes, if you want to ALWAYS output a boolean value, use SameQ.

WARNING: SameQ has a higher precedence as an operator. If you want to replace values, replace the values while holding the operation.
