A
harmonic oscillator refers to a system or object that moves back and forth in a repeating pattern, like a swinging pendulum or a vibrating guitar string. It gets its name from the word "harmony" because its motion follows a smooth and regular pattern, kind of like the melodic harmony in music.
Full definition