A phoneme is a unit of sound that distinguishes words in a language, such as the difference between 't' and 'k' in English. An allophone is a variant of a phoneme. For example, the 'p' sound in English can be pronounced differently depending on the context, but these variations are still considered to be allophones of the same phoneme.