A reference book or database that lists words and their meanings/usages; a dictionary or lexicon.
分からない単語があったら辞書を引いてください。
If there's a word you don't know, please look it up in a dictionary.
電子辞書は旅行に便利だ。
An electronic dictionary is convenient for travel.
その辞書には古語も多く載っている。
That dictionary contains many archaic words.
An archaic meaning: a resignation letter (now expressed by 辞表).
古文献によれば「辞書」は辞表、つまり辞職願を指すことがある。
According to old texts, '辞書' can mean a resignation letter.