A token is a fragment of a word that is represented by a unique integer. Tokens can be words, parts of words, or punctuation marks.