Theorem:
Let $P$ be a partition of a set $S$, and let $a$ and $b$ be $\in S$. Define the relation $R$ on $S$ as follows: $aRb$ iff there exists an $X \in P$ such that $a \in X$ and $b \in X$. Then $R$ is an equivalence relation on $S$. Furthermore, the set of equivalence classes of $R$ is equal to $P = \{[a]: a \in S\}$.
Proof for the bolded part:
Let $a \in S$. Then there exists an $X \in P$ such that $a \in X$.
$[a] = \{x: aRx\} = X$
So, the set of all equivalence classes of the relation R is the original partition: $P = \{[a]: a \in S\}$
Is the proof excerpt above saying this:
Let $a \in S$. Then there exists an $X \in P$ such that $a \in X$. So, $P =\{X: a \in X\}$. Thus $[a] = \{x: aRx\} = X$. Therefore $P = \{[a]: a \in S\}$.