There exists an analogy between electrical and mechanical systems. In terms of circuits, resonance can be defined as the oscillatory phenomenon that takes place at a defined frecuency causing voltages or currents much higher than expected. The resonant circuit needs at least one inductance and one capacitance connected in series or in parallel.
In mechanical systems Force is the product of Mass and the second derivate of Position and also the product of elastic constant of a Spring and the Position. In Electricity, Voltage is the product of the Inductance and the second derivative of the electric Ccharge and also the product of the Capacitance and the electric Charge. Voila the analogy
I hope this can help you Julian