Suppose $|G|=p^n$. Then $G$ has a normal subgroup of order $p^m$ for every $0\le m\le n$.
By induction. It is clearly true for $n=0$. Now suppose $k<n$ and $H_i$ is a normal subgroup of $G$ of order $p^i$ for $i=0,...,k$.
I read in another thread that if we consider $Z(G/H_k)\neq 1$ and the Cauchy's theorem, this will provide us a group of order $p^{k+1}$. I don't see why yet.
By that theorem there exists $gH_k\in Z(G/H_k)$ with order $p$. How can we construct a group of order $p^{k+1}$ from here?
Thank you.