Well, its a definition in some sense.
One can define the set ${\Bbb N}_0$ of natural numbers by the Peano axioms. They basically say that (1) $0\in{\Bbb N}_0$, (2) $\nu:{\Bbb N}_0\rightarrow {\Bbb N}_0$ is a one to one function with $\nu(x)\ne0$ for all $x\in {\Bbb N}_0$, where $\nu(x)$ is called the successor of $x$, and (3) the induction axiom: If a subset $X$ of ${\Bbb N}_0$ contains $0$ and with each element $x$ also $\nu(x)$, then $X={\Bbb N}_0$.
One can show that ${\Bbb N}_0=\{0,\nu(0),\nu^2(0),\ldots\}$, i.e., the elements of ${\Bbb N}_0$ are $0$ and the successors of $0$. Moreover, this set fulfilling the axioms is in some sense uniquely determined - good to know but not used later on.
From here, define $1=\nu(0)$, $2=\nu(1)=\nu^2(0)$, $3=\nu^3(0)$, and so on.
Then one can define an addition (and multiplication) operation on ${\Bbb N}_0$:
$$m+0 = m$$
and
$$m+\nu(n) = \nu(m+n).$$
Now $1+1 = 1+\nu(0) = \nu(1+0) = \nu(1) = 2$ as required.