For example, the axiom of pairing says:
Let $a$ be a set.
Let $b$ be a set.
If follows that the set $\{a,b\}$ exists.
This can be used to prove the existence of singletons, for instance, by setting $b := a$ (in the previous statement). Namely, the axiom of pairing implies the following:
Let $a$ be a set.
If follows that the set $\{a\}$ exists.
This got me thinking. What ZFC axiom implies that, for any set $a$, the set $\{a,a\}$ equals the set $\{a\}$? Equivalently, what axiom of ZFC implies that the sets of ZFC don't behave like multisets? (I suspect it's extensionality, but I couldn't argue why. So, if it is extensionality, then I'm gonna need some convincing...)
The axiom of extensionality is the statement:
We can use this to prove the "no repeated elements" property by setting $A := \{a,a\}$ and $B := \{a\}$ in the axiom of extensionality. So,
Theorem. The set {a,a} equals the set $\{a\}$.
Proof. Since $\{a,a\}$ and $\{a\}$ are sets, they satisfy the hypotheses of the axiom of extensionality. So, they satisfy the conclusion.
This means that the sets $\{a,a\}$ and $\{a\}$ satisfy the implication:
So, if we can prove the antecedent
then, by modus ponens, it'll follow that
as desired.
We prove $(*)$ by verifying it for every element of $\{a,a\}$ and $\{a\}$.
The key observation is that: $a$ is in $\{a,a\}$ and $a$ is in $\{a\}$.
This proves that: for every set $x$ $($ $x$ is in $\{a,a\}$ $ $ $ $ IFF $ $ $ $ $x$ is in $\{a\}$ $)$.
This proves that: $\{a,a\}$ equals $\{a\}$.
A similar argument proves that: $\{a,a,a\}$ equals $\{a\}$, and so on.
To extend this result to every finite number of $a$'s probably requires induction, which probably requires the axiom of infinity.