What are the figure and figcaption elements, and when are they used?

The figure element identifies content the illustrates or supports some point in text. It can contain an image, video, a code snippet, etc.

<figure>
	<img src="...">
</figure>

The figcaption element provides a text caption for the figure, and it can be above or below the figure element.

<figcaption>
Description of the image.
</figcaption>