What is a semantic tag in HTML? Why is it used?

Semantic tags (e.g., <header>, <footer>, <article>, <section>) clearly describe their purpose and content, helping with accessibility and SEO.

Example:

<article>
  <h2>News Article</h2>
  <p>This is an article section.</p>
</article>