Allophones are variants of a phoneme that occur in different environments without altering meaning.
Allophones are different realizations or variations of the same phoneme, depending on the phonetic environment. These variations do not change the meaning of the word, for example, the /p/ sound in “pat” and “spat.”