Which is better — Meta Robot tags or robots.txt?

Which is better — Meta Robot tags or robots.txt?

Robots.txt files are best for disallowing a whole section of a site, such as a category whereas,
a Meta robots tag is more efficient at disallowing single files and pages. You could choose to use both a meta robots tag and a robots.txt file as neither has authority over the other, but “noindex” always has authority over “index” requests.