Sine wave can be obtained from a function generator or by using a RC phase shift oscillator.
Two switches inside the quad analog switch CD 4016 are used in the circuit. When the enable input of one gate is at high, then the input will appear at the output.