A thesaurus is a reference book containing lists of synonyms and antonyms, used to help people find words that have similar or opposite meanings.