When two or more sound waves meet, they add to and subtract from each other. If their peaks and troughs are perfectly in phase, they reinforce each other, resulting in a waveform that has higher amplitude than either individual waveform.

If the peaks and troughs of two waveforms are perfectly out of phase, they cancel each other out, resulting in no waveform at all.

Because of its unique physical
structure, a single instrument can create extremely complex waves.
That’s why a violin and a trumpet sound different even when playing the
same note. 