Take a guitar. Very gently put finger on string. Start sliding finger while continuously strumming with other hand. On some places (usually 3rd 5th 12th fret) the string will produce clean sounds, that's where the frets should be.
But this is not exact!
Music harmonics are just about multiples. Ie one note rings at some frequency and another note that sounds nice with it rings at some multiple of it. Or they have some common factor. The twelve note system and the twelvth roots are just approximations for some of these harmonies. There's even very recent innovation like true temperament frets. But I don't think that works with all the different song keys and tunings... Maybe it's another reason why I should buy a guitar for every song key we have!