Viewport is a meta tag in HTML5, used mainly for responsive design to control the layout on mobile browsers. It’s like a virtual area used by the browser rendering engine to determine how content is scaled and sized. By controlling the viewport, developers can handle how their website performs on different devices.