Let $G$ be a group, we want to prove $[G,G]\cap Z(G)\subseteq \operatorname{Frat}(G)$.
Can you please give some idea how to solve this?
Here $\operatorname{Frat}(G)$ is the Frattini subgroup, the intersection of all maximal subgroups in $G$.
$[G,G]$ is the commutator subgroup of $G$ and $Z(G)$ the center of $G$.