\section{Section}\label{sec:section}

\begin{figure}
\centering
\includegraphics{figure.png}
\caption{A Figure}\label{fig:figure}
\end{figure}

sec.~\ref{sec:section}

fig.~\ref{fig:figure}
