Oscillator is a non-rotating electronic device. Oscillators can produce oscillations ranging from a few Hz to several MHz.
A transistor amplifier with proper positive feedback can act as an oscillator.
An electronic device that generates sinusoidal oscillations of desired frequency is known as a sinusoidal oscillator.
It does not create energy, but merely acts as an energy converter.
It receives d.c. energy and changes it into ac energy of desired frequency. The frequency of oscillations depends upon the constants of the device.