Inline referencing chapters, sections, subsections, etc
You can use command label, e.g.,

\section{My Section}\label{section:MySection}
\subsection{My Subsection}\label{section:MySubsection}

Then you can use:

...Sections~\ref{section:MySection} and \ref{section:MySubsection}...