Why closed subgroup of a lie group $H$ equal to the $G$?

15 Views Asked by At

I was reading a book where for $G$ a connected lie group, and $H$ a subgroup of $G$. It proved that $H$ be closed sub lie group of $G$, and then concluded that $H=G$.

Is it correct? If so, why?(Is it because the manifold structure of $G$?)