An electronic oscillator is an electronic circuit that produces a repetitive, oscillating electronic signal, often a sine wave or a square wave.
Oscillators convert direct current (DC) from a power supply to an alternating current signal. They are widely used in many electronic devices.