Mesh terms, or Medical Subject Headings, are a comprehensive controlled vocabulary used by the National Library of Medicine (NLM) for indexing articles for PubMed. They serve as standardized terms to ensure that articles about similar subjects are grouped together, facilitating effective literature search and retrieval.