Resonance occurs when the frequency of the external force (applied) is the same as the natural frequency (resonant frequency) of the system. When such a situation occurs, the external force always acts in the same direction as the motion of the oscillating object, with the result that the amplitude of the oscillation increases indefinitely, as it's shown in the adjacent diagram. Away from the value of resonant frequency, either greater or lesser, the amplitude of the corresponding frequency is smaller.