If we want to further specify how LaTeX should include our image in the document.
Learn how to insert images and caption them. Examples for a single figure, and multiple figures next to each other, using the subfigure.
Insert the figure: using the figure environment as follows: Figures in LaTeX are "floats", which means they can end up anywhere depending.
That will take care of choosing the right driver whether you're using latex (it The figure code later on when you actually insert the image is completely correct.
LaTeX by default recognizes "table" and "figure" floats, but you can define new . numbering of figures, so you do not need to include this within the caption text.