Resonance condition occurs when the frequency of external sources matches the natural frequency of the system.