This example uses the package subcaption for two upper figures side by side.
To test it with your images, put them in the same directory as the .tex document. Later you can move them to another directory by adding the path.

\documentclass[12pt,a4paper]{article}
\usepackage{subcaption} % added <<<<<<<<<<<<<<<<
\usepackage{graphicx}
\begin{document}
\begin{figure}[ht!] % with two subfigures included
\begin{subfigure}[t]{.40\textwidth}
\centering
% first image
\includegraphics[width=\textwidth, keepaspectratio]{example-image-a} % <<< image name 1
\caption{Lorem ipsum}
\label{fig:Lorem}
\end{subfigure}\hfill
\begin{subfigure}[t]{.40\textwidth}
\centering
% second image
\includegraphics[width=\textwidth, keepaspectratio]{example-image-b} % <<< image name 2
\caption{Lorem ipsum, Lorem ipsum, Lorem ipsum, Lorem ipsum, Lorem ipsum}
\label{fig:ipsum}
\end{subfigure}
\caption{Caption place holder}
\end{figure}
\begin{figure}[ht!] % a single figure
\centering
\includegraphics[width=0.5\textwidth, keepaspectratio]{example-grid-100x100pt} %
\caption{Single figure named example-grid-100x100pt}
\label{fig:gris}
\end{figure}
\end{document}
subfigure,subfigandsubcaptioninside of a single document. Since the first one is considered deprecated, decide which of the latter two you want to use and stick to a single package. – leandriis Apr 26 '21 at 14:23