Making minimal pairs is a method that can be used to work out whether two different sounds in a certain language are allophones or phonemes. For instance, we can see that l and r are different phonemes by making the minimal pair:
lime - rhyme - l and r can distinguish between words: they are distinctive for the meaning of the word