For a $p$-group $G,$$G$, which we know has a nontrivial center, can we have $G=G'?$$G=G'$?
Obviously not when $G$ is finite. But the question makes sense for infinite groups (here $p$-group means that each element has finite order, which is a power of some given prime number $p$).