To write out your question completely: Prove that the subgroups of $\mathbb{Z}$ under the addition binary operation are precisely the groups $n\mathbb{Z}$ under addition.
Let H be a subgroup of $\mathbb{Z}$
(Note: because the binary operation is addition (and $H$ is a group), this means that if $a\in H$ then $-a \in H$. This means that if there is a non zero element in $H$, then there will always be a positive element in $H$)
Let $n$ be the least positive integer (i.e. an integer $ n > 0$) such that $n \in H$, the due to the addition binary operation on the group $H$, $n+n = 2n\in H$ and $n+n+n = 3n \in H$ and generally $n +n+...+n =tn$.
(Note: same applies for $-n+-n = -2n\in H$ and $-n+-n+-n = -3n \in H$ etc...)
This shows us that $H$ contains all the multiples of $n$.
Now let $p \in n\mathbb{Z}$, thus we can find some integer $q$ such that $p = qn$. Because $H$ contains all the multiples of $n$, this means that $p = qn \in H$.
Hence this shows that $n\mathbb{Z} \subseteq H$
Now for the reverse direction.
Let $k \in H$. Then by division algorithm, $k = nq +r$ where $n$ is the least positive integer in $H$ and $0\leq r < n$. As shown above, $nq \in H$. This means $-nq \in H$ due to the inverse property of groups. Thus $k - nq = r \in H$. But $n$ is the least positive integer in $H$, so if $0<r < n$, the $r$ would be the least positive integer in $H$ and hence a contradiction to "$n$ is the least positive integer in $H$". Thus the only other option is that $r = 0$. Thus $k = nq +r = nq \in n\mathbb{Z}$. Thus for all $k \in H$ we get $k \in n\mathbb{Z}$. Thus $H \subseteq n\mathbb{Z}$
Thus because $n\mathbb{Z} \subseteq H$ and $H \subseteq n\mathbb{Z}$, we can finally conclude that $H = n\mathbb{Z}$ where $H$ is an arbitary subset of $\mathbb{Z}$