An oscillator is a circuit that converts DC input into AC output through the use of an amplifier and positive feedback loop. For oscillation to be sustained, the feedback loop must have a total phase shift of 0 degrees and a gain of 1. Common oscillator circuits include the Wien bridge oscillator, which uses a lead-lag RC network to provide the necessary phase shift and gain conditions for oscillation.