Allophones are variants of a phoneme that occur in different environments without altering meaning.
Allophones are contextual variations of a phoneme that do not change a word's meaning. An example is the /p/ sound in “pat” versus “spat.”