When we hear a sound, we can identify its source from
Overtones present in the sound
The sounds of different source are said to differ in quality. The number of overtones and their relative intensities determines the quality of any musical sound.