\documentclass{minimal}
\begin{document}

Hello World!

\begin{x}
  \begin{y}
    Hello world.
  \end{y}
\end{x}

\end{document}
