What is the oscillator?

any circuit which is used to generate an ac voltage without an ac input signal is called an oscillator.