The noindex tag is a meta robots directive, or HTTP header, that instructs search engines not to include the page in their index while still letting crawlers follow its links.
The most common form lives in the <head> of a page:
<meta name="robots" content="noindex, follow">
It can also be served as an HTTP header, which is preferred for non-HTML files (PDFs, images) where a <meta> tag cannot exist:
X-Robots-Tag: noindex, nofollow
And it can be targeted at a specific crawler:
<meta name="googlebot" content="noindex">
The directive has one job: keep a URL out of the index. It does not block crawling — for that, robots.txt is the tool. And it does not delete an already-indexed page instantly; Google must re-crawl the URL, read the directive, and remove it, a process that can take days or weeks.