includegraphics
includegraphics is a LaTeX command used to insert images into a document. It is provided by the graphicx package, which must be loaded in the preamble with \usepackage{graphicx}. The command’s syntax is simple: \includegraphics{filename}, where the file name refers to an image file such as diagram.png or chart.pdf. An optional argument in square brackets passes key-value options to control size and other properties, for example [width=\textwidth], [width=0.5\textwidth,keepaspectratio], or [trim=1in 2in 1in 2in,clip]. Common choices are width, height, scale, angle, and clip; keepaspectratio preserves proportions when one dimension is specified.
The graphics format depends on the compiler: pdfLaTeX handles PNG, JPEG, and PDF; LaTeX to DVI commonly
For floating figures, the image is usually placed inside a figure environment with optional \caption and \label
In short, includegraphics provides flexible image inclusion via a single command, with broad format support and