A lexicon is a collection or dictionary of words and their meanings in a particular language, usually organized alphabetically. It can also refer to the vocabulary or set of words used by an individual or group. In computer science, it refers to a database that stores information about words and their relationships within a natural language processing system.