First off, avoid using W3Schools please. Main reason being is that they post a lot of inaccurate information. A better place that's been evolving for web development can be found on the Mozilla Developer Network (MDN).
Specifically on their <figure> page.
A
<figure>
is basically just another HTML5 element that's tailored to be more semantic to the structure of the HTML that's created. It's the same reason why we have<article>
,<section>
,<aside>
, and<nav>
tags were created, so that the content is better understood by developers and bots alike when reading the source of a page instead of having<div>
thrown around everywhere to make it all confusing.