Anchor tags are found throughout the web, wrapping around things such as text, images, graphics, videos, and more.
The anchor tag is used to send the website visitor to a different page on the web when clicking the item wrapped by the tag. In the above example, clicking on the word "Anchor Text" would send you to https://www.w3schools.com/tags/tag_a.asp. The same would apply if the anchor tag wrapped around an image or other items, clicking that item would take you to the subsequent link found in the anchor tag.
When an image or other item is wrapped in an anchor tag, it is usually denoted by a change in the cursor style of your mouse from a text highlight cursor to the hand cursor. Like this: