Electrical resonance occurs in an electric circuit at a particular resonance frequency when the imaginary parts of impedances or admittances of circuit elements cancel each other. In some circuits this happens when the impedance between the input and output of the circuit is almost zero and the transfer function is close to one.