What is a lexicon

The lexicon is the set of words of a language.

The lexicon is an abstract object, that is, a set of words with associated information, stored in our mind, while the dictionary is a concrete object, typically a book, that describes (subset of) the lexicon.