\documentclass{beamer}
\title{Basic presentation}
\begin{document}
\begin{frame}
\titlepage
\end{frame}
\begin{frame}
\tableofcontents
\end{frame}
\section{beginning}
\frame{This is my first slide}
\section{The great part}
\frame{
\frametitle{The title is here.}
This is my second slide}
\end{document}